summaryrefslogtreecommitdiffstats
path: root/ghostscript/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-01-29 01:17:20 +0100
committerpiernov <piernov@piernov.org>2012-01-29 01:17:20 +0100
commitbc2db09514c270c16502209e12426478652a7d03 (patch)
tree788abad274fecfda0fa952c76843f63acd2dcdfa /ghostscript/Pkgfile
parent5c85580c9afa48aaed4b78d94089e0509a4a723b (diff)
downloadnutyx-extra-bc2db09514c270c16502209e12426478652a7d03.tar.gz
nutyx-extra-bc2db09514c270c16502209e12426478652a7d03.tar.bz2
nutyx-extra-bc2db09514c270c16502209e12426478652a7d03.tar.xz
nutyx-extra-bc2db09514c270c16502209e12426478652a7d03.zip
ghostscript 9.04-1 màj port
Diffstat (limited to 'ghostscript/Pkgfile')
-rwxr-xr-xghostscript/Pkgfile28
1 files changed, 20 insertions, 8 deletions
diff --git a/ghostscript/Pkgfile b/ghostscript/Pkgfile
index 45d1e1dd4..0ae959e9d 100755
--- a/ghostscript/Pkgfile
+++ b/ghostscript/Pkgfile
@@ -6,29 +6,41 @@
# Run on: libcups,fontconfig,kerberos
name=ghostscript
-version=9.02
+version=9.04
release=1
-source=( http://downloads.ghostscript.com/public/$name-$version.tar.gz \
- 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 )
+source=(http://downloads.ghostscript.com/public/$name-$version.tar.gz
+ 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
+ ghostscript-cups-rgbw.patch)
build() {
unset MAKEFLAGS
cd $name-$version
+ patch -p1 < ../ghostscript-cups-rgbw.patch
+ rm -rf jpeg libpng zlib jasper expat tiff lcms freetype
cd ijs
./autogen.sh
./configure --prefix=/usr --enable-shared --disable-static
make
make DESTDIR=$PKG install
-
cd ..
- ./configure --prefix=/usr --enable-dynamic --with-ijs \
- --with-jbig2dec --with-omni --without-x --with-drivers=ALL \
+
+ ./configure --prefix=/usr \
+ --enable-dynamic \
+ --enable-fontconfig \
+ --enable-freetype \
+ --disable-compile-inits \
+ --with-ijs \
+ --with-jbig2dec \
+ --with-omni \
+ --with-x \
+ --with-install-cups \
+ --with-drivers=ALL \
--with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts
make
- make DESTDIR=$PKG install soinstall
+ make cups_serverroot=$PKG/etc/cups cups_serverbin=$PKG/usr/lib/cups DESTDIR=$PKG install soinstall
cp -r $SRC/fonts $PKG/usr/share/ghostscript
}