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

26 lines
568 B
Bash
Raw Normal View History

# 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"
2012-08-15 21:31:49 +02:00
LICENCES="( BSD-3 MIT )"
SLOT="0"
PLATFORMS="~amd64 ~x86"
DEPENDENCIES=""
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
}