diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-21 18:02:36 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-21 18:02:36 +0200 |
commit | 81f55c6a954240473920811d17316901bd167cc2 (patch) | |
tree | deb2308d42ff31e194a112ea96b90046ce456cfa /extra/ghostscript/Pkgfile | |
parent | 0d348eed4240ef5b3b291134e0a76b2b925624a8 (diff) | |
download | nutyx-pakxe-81f55c6a954240473920811d17316901bd167cc2.tar.gz nutyx-pakxe-81f55c6a954240473920811d17316901bd167cc2.tar.bz2 nutyx-pakxe-81f55c6a954240473920811d17316901bd167cc2.tar.xz nutyx-pakxe-81f55c6a954240473920811d17316901bd167cc2.zip |
ghostscrip, maj 8.70-1
Diffstat (limited to 'extra/ghostscript/Pkgfile')
-rwxr-xr-x | extra/ghostscript/Pkgfile | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/extra/ghostscript/Pkgfile b/extra/ghostscript/Pkgfile index 12139db1e..1d00c5e1d 100755 --- a/extra/ghostscript/Pkgfile +++ b/extra/ghostscript/Pkgfile @@ -1,24 +1,33 @@ # Description: Permet le rendu des documents Postscripts vers différentes cibles # URL: http://www.ghostscript.com/awki -# Maintainer: Linux From Scratch +# Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: cups +# Depends on: cups, fontconfig name=ghostscript -version=8.63 +version=8.70 release=1 source=( http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2 \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz\ - http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz) + http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz ghostscript-fPIC.patch) build() { cd $name-$version - sed -i "s/bbox.dev$/x11.dev/" Makefile.in - ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --without-omni \ - --enable-threads + +if [ "`uname -m`" == "x86_64" ]; then + patch -Np1 -i ../ghostscript-fPIC.patch +fi + + cd ijs + ./autogen.sh + ./configure --prefix=/usr --enable-shared --disable-static + make + make DESTDIR=$PKG install + + cd .. + ./configure --prefix=/usr --enable-dynamic --enable-threads --with-ijs \ + --with-jbig2dec --with-omni --with-x --with-drivers=ALL \ + --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts make make DESTDIR=$PKG install cd .. |