exherbo-denkn/packages/app-arch/pax/pax-20140703-r2.exheres-0

30 lines
636 B
Bash

# Copyright 2012 Denis Knauf
# Distributed under the terms of the GNU General Public License v2
# http://packages.debian.org/wheezy/pax
require debian-upstream [ suffix=.orig.tar.gz ]
SUMMARY="Portable Archive Interchange"
LICENCES="( BSD-3 MIT )"
SLOT="0"
PLATFORMS="~amd64 ~x86"
DEPENDENCIES=""
WORK="${WORKBASE}/${PN}"
src_compile() {
# Makefile says:
# # -DLONG_OFF_T The base type of off_t is a long, not a long long.
# # This is often defined in: /usr/include/sys/types.h
edo $CC -DLONG_OFF_T ${CFLAGS} ${LDFLAGS} -o pax *.c
}
src_install() {
dobin pax
doman pax.1
emagicdocs
}