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"
|
|
|
|
|
2012-08-15 21:31:49 +02:00
|
|
|
LICENCES="( BSD-3 MIT )"
|
2012-08-15 20:48:57 +02:00
|
|
|
SLOT="0"
|
2012-09-27 16:02:39 +02:00
|
|
|
PLATFORMS="~amd64 ~x86"
|
2012-08-15 20:48:57 +02:00
|
|
|
|
|
|
|
DEPENDENCIES=""
|
|
|
|
|
|
|
|
src_compile() {
|
2012-09-27 16:02:39 +02:00
|
|
|
# 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 gcc -DLONG_OFF_T ${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 21:25:45 +02:00
|
|
|
emagicdocs
|
2012-08-15 20:48:57 +02:00
|
|
|
}
|