From 04f1045b5086afd368886533c71da9851f3e7b7a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 15 Apr 2014 09:13:15 +0200 Subject: [PATCH] psutils: fix cross build; install README files to /usr/share/doc. --- srcpkgs/psutils/template | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/srcpkgs/psutils/template b/srcpkgs/psutils/template index 294a901db8..06bc6b6a16 100644 --- a/srcpkgs/psutils/template +++ b/srcpkgs/psutils/template @@ -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 " 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} -} \ No newline at end of file +}