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

29 lines
610 B
Bash
Raw Normal View History

2014-12-01 12:23:04 +01:00
# 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=""
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
}