diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-21 18:39:20 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-21 18:39:20 +0200 |
commit | 6d6caa92e7418c7bbcbee40d421863f5e850a0f6 (patch) | |
tree | b015b5897db7ab7e51607089580cc1d3069bb2f4 /extra/a2ps/Pkgfile | |
parent | 1f7c3db43f053c1617275d22770b13e6a935b077 (diff) | |
download | nutyx-pakxe-6d6caa92e7418c7bbcbee40d421863f5e850a0f6.tar.gz nutyx-pakxe-6d6caa92e7418c7bbcbee40d421863f5e850a0f6.tar.bz2 nutyx-pakxe-6d6caa92e7418c7bbcbee40d421863f5e850a0f6.tar.xz nutyx-pakxe-6d6caa92e7418c7bbcbee40d421863f5e850a0f6.zip |
maj a2ps#4.14-1
Diffstat (limited to 'extra/a2ps/Pkgfile')
-rwxr-xr-x | extra/a2ps/Pkgfile | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/extra/a2ps/Pkgfile b/extra/a2ps/Pkgfile index 312a75d2e..7d5f7bffb 100755 --- a/extra/a2ps/Pkgfile +++ b/extra/a2ps/Pkgfile @@ -2,20 +2,27 @@ # URL: http://www.inf.enst.fr/~demaille/a2ps/ # Maintainer: NuTyX core team # Packager: fred.galusik at gmail dot com -# Depends on: perl, psutils +# Depends on: perl, psutils, ghostscript, imagemagick name=a2ps -version=4.13b -release=3 +version=4.14 +release=1 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \ -ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz) +ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz \ +a2ps-4.14-check-mempcpy.patch a2ps-4.14-fix-stpcpy-proto.patch \ +a2ps-4.13c-fnmatch-replacement.patch) build() { -cd $name-4.13 + cd $name-$version + patch -p1 < ../a2ps-4.13c-fnmatch-replacement.patch + patch -p1 < ../a2ps-4.14-check-mempcpy.patch + patch -p0 < ../a2ps-4.14-fix-stpcpy-proto.patch sed -i "s|emacs||" contrib/Makefile.in sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh sed -i "s|/usr/local/share|/usr/share|" configure - sed -i "s|char \*malloc ();|/* & */|" lib/path-concat.c +# sed -i "s|char \*malloc ();|/* & */|" lib/path-concat.c + libtoolize --force --copy + autoreconf -I m4 ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ |