27 lines
510 B
Bash
27 lines
510 B
Bash
# 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() {
|
|
edo gcc ${CFLAGS} ${LDFLAGS} -o pax *.c
|
|
}
|
|
|
|
src_install() {
|
|
dobin pax
|
|
doman pax.1
|
|
}
|