2014-04-14 21:58:05 +02:00
|
|
|
# Template file for 'psutils'
|
|
|
|
pkgname="psutils"
|
|
|
|
version="p17"
|
2014-12-18 21:41:00 +01:00
|
|
|
revision=3
|
2014-04-14 21:58:05 +02:00
|
|
|
short_desc="Set of utilities to manipulate PostScript files"
|
2014-10-27 18:05:31 +01:00
|
|
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
2014-04-14 21:58:05 +02:00
|
|
|
license="AJCD-License"
|
2014-12-18 21:41:00 +01:00
|
|
|
hostmakedepends="perl"
|
2014-04-14 21:58:05 +02:00
|
|
|
makedepends="ghostscript"
|
|
|
|
depends="ghostscript"
|
|
|
|
homepage="http://knackered.org/angus/psutils/"
|
2014-04-15 09:13:15 +02:00
|
|
|
wrksrc="psutils"
|
2014-04-14 21:58:05 +02:00
|
|
|
distfiles="ftp://ftp.knackered.org/pub/psutils/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum="3853eb79584ba8fbe27a815425b65a9f7f15b258e0d43a05a856bdb75d588ae4"
|
|
|
|
patch_args="-Np1"
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
# install in /usr instead of /usr/local
|
|
|
|
sed 's@/usr/local@/usr@g' Makefile.unix > Makefile
|
|
|
|
}
|
|
|
|
do_build() {
|
2014-04-15 09:13:15 +02:00
|
|
|
make CC=$CC CFLAGS="$CFLAGS"
|
2014-04-14 21:58:05 +02:00
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
|
2014-12-18 21:41:00 +01:00
|
|
|
vlicense LICENSE
|
|
|
|
vdoc README
|
|
|
|
vdoc README.voidlinux
|
2014-04-14 21:58:05 +02:00
|
|
|
|
2014-04-15 09:13:15 +02:00
|
|
|
}
|