[arch-commits] CVS update of arch/build/system/ghostscript (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Fri Jun 22 22:16:40 UTC 2007


    Date: Friday, June 22, 2007 @ 18:16:40
  Author: andyrtr
    Path: /home/cvs-arch/arch/build/system/ghostscript

Modified: PKGBUILD (1.37 -> 1.38)

fixed missing IJS support for gutenprint


----------+
 PKGBUILD |   19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)


Index: arch/build/system/ghostscript/PKGBUILD
diff -u arch/build/system/ghostscript/PKGBUILD:1.37 arch/build/system/ghostscript/PKGBUILD:1.38
--- arch/build/system/ghostscript/PKGBUILD:1.37	Fri Apr 27 15:20:06 2007
+++ arch/build/system/ghostscript/PKGBUILD	Fri Jun 22 18:16:39 2007
@@ -1,25 +1,36 @@
-# $Id: PKGBUILD,v 1.37 2007/04/27 19:20:06 jgc Exp $
+# $Id: PKGBUILD,v 1.38 2007/06/22 22:16:39 andyrtr Exp $
 # Maintainer: dorphell <dorphell at archlinux.org>
 pkgname=ghostscript
 pkgver=8.15.4
-pkgrel=2
+pkgrel=3
 pkgdesc="An interpreter for the PostScript language"
 arch=(i686 x86_64)
 license=('GPL' 'custom')
 depends=('libxext' 'libxt' 'libcups' 'fontconfig' 'gsfonts')
+amkedepends=('automake' 'autoconf')
 replaces=('ghostscript-lrpng')
 provides=('ghostscript-lprng')
 url="http://www.cups.org/espgs/"
 source=(http://ftp.easysw.com/pub/${pkgname}/${pkgver}/espgs-${pkgver}-source.tar.bz2)
 md5sums=('e74e0463e0bfb1cea3db245d8e71828c')
+options=('!libtool' '!makeflags')
 
 build() {
   cd ${startdir}/src/espgs-${pkgver}
   [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
+  # Build IJS
+  cd ${startdir}/src/espgs-${pkgver}/ijs
+  aclocal
+  autoconf
+  automake --add-missing --copy || : # Ships with broken symlinks
+  ./configure --prefix=/usr --enable-shared --disable-static
+  make || return 1
+  make DESTDIR=$startdir/pkg install || return 1
+  cd ..
   ./configure --prefix=/usr --enable-dynamic --enable-threads --with-ijs \
-              --with-jbig2dec --with-omni --with-x \
+              --with-jbig2dec --with-omni --with-x --with-drivers=ALL\
 	      --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts
-  make -j1 || return 1
+  make || return 1
   make install \
        install_prefix=${startdir}/pkg \
        cups_serverroot=${startdir}/pkg/etc/cups \




More information about the arch-commits mailing list