void-packages/srcpkgs/psutils/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

33 lines
817 B
Bash

# Template file for 'psutils'
pkgname="psutils"
version="p17"
revision=4
short_desc="Set of utilities to manipulate PostScript files"
maintainer="Orphaned <orphan@voidlinux.org>"
license="AJCD-License"
hostmakedepends="perl"
makedepends="ghostscript"
depends="ghostscript"
homepage="http://knackered.org/angus/psutils/"
wrksrc="psutils"
distfiles="ftp://ftp.knackered.org/pub/psutils/${pkgname}-${version}.tar.gz"
checksum="3853eb79584ba8fbe27a815425b65a9f7f15b258e0d43a05a856bdb75d588ae4"
pre_configure() {
# install in /usr instead of /usr/local
sed -e "s;/usr/local;/usr;g" \
-e "s;@CFLAGS@;$CFLAGS;" \
-e "s;@LDFLAGS@;$LDFLAGS;" \
Makefile.unix > Makefile
}
do_build() {
make CC=$CC ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} install
vlicense LICENSE
vdoc README
vdoc README.voidlinux
}