psutils: fix cross build; install README files to /usr/share/doc.
This commit is contained in:
parent
abd4a0a2d6
commit
04f1045b50
|
@ -1,8 +1,7 @@
|
|||
# Template file for 'psutils'
|
||||
pkgname="psutils"
|
||||
version="p17"
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
revision=2
|
||||
short_desc="Set of utilities to manipulate PostScript files"
|
||||
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
||||
license="AJCD-License"
|
||||
|
@ -10,7 +9,7 @@ hostmakedepends="perl "
|
|||
makedepends="ghostscript"
|
||||
depends="ghostscript"
|
||||
homepage="http://knackered.org/angus/psutils/"
|
||||
wrksrc="/psutils"
|
||||
wrksrc="psutils"
|
||||
distfiles="ftp://ftp.knackered.org/pub/psutils/${pkgname}-${version}.tar.gz"
|
||||
checksum="3853eb79584ba8fbe27a815425b65a9f7f15b258e0d43a05a856bdb75d588ae4"
|
||||
patch_args="-Np1"
|
||||
|
@ -21,7 +20,7 @@ pre_configure() {
|
|||
}
|
||||
|
||||
do_build() {
|
||||
make
|
||||
make CC=$CC CFLAGS="$CFLAGS"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
@ -30,7 +29,7 @@ do_install() {
|
|||
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
||||
|
||||
vinstall LICENSE 644 usr/share/${pkgname}
|
||||
vinstall README 644 usr/share/${pkgname}
|
||||
vinstall README.voidlinux 644 usr/share/${pkgname}
|
||||
vinstall README 644 usr/share/doc/${pkgname}
|
||||
vinstall README.voidlinux 644 usr/share/doc/${pkgname}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user