2012-08-15 20:48:57 +02:00
|
|
|
# Copyright 2012 Denis Knauf
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
require debian-upstream [ suffix=.orig.tar.gz ]
|
|
|
|
|
|
|
|
SUMMARY="Portable Archive Interchange"
|
|
|
|
|
|
|
|
LICENCES="( as-is )"
|
|
|
|
SLOT="0"
|
|
|
|
PLATFORMS="~amd64 ~arm ~ia64 ~ppc64 ~x86"
|
|
|
|
MYOPTIONS=""
|
|
|
|
|
|
|
|
DEPENDENCIES=""
|
|
|
|
|
|
|
|
DEFAULT_SRC_CONFIGURE_PARAMS=( --bindir=/bin )
|
|
|
|
DEFAULT_SRC_INSTALL_EXTRA_DOCS=( PORTS )
|
|
|
|
|
|
|
|
WORK=${WORKBASE}/${PN}-${PV}
|
|
|
|
|
|
|
|
src_compile() {
|
2012-08-15 21:10:14 +02:00
|
|
|
edo gcc ${CFLAGS} ${LDFLAGS} -o pax *.c
|
2012-08-15 20:48:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2012-08-15 21:10:14 +02:00
|
|
|
dobin pax
|
|
|
|
doman pax.1
|
2012-08-15 20:48:57 +02:00
|
|
|
}
|