wok-current rev 2762
Up: Ghostscript ; improve receipt for size
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun Apr 26 15:47:15 2009 +0000 (2009-04-26) |
parents | cd2dbe78928e |
children | a636f1cfa227 |
files | ghostscript/receipt |
line diff
1.1 --- a/ghostscript/receipt Sun Apr 26 15:41:46 2009 +0000 1.2 +++ b/ghostscript/receipt Sun Apr 26 15:47:15 2009 +0000 1.3 @@ -1,16 +1,20 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="ghostscript" 1.7 -VERSION="8.62" 1.8 +VERSION="8.64" 1.9 CATEGORY="office" 1.10 SHORT_DESC="Ghostscript tools and utilities." 1.11 -MAINTAINER="pankso@slitaz.org" 1.12 +MAINTAINER="jozee@slitaz.org" 1.13 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 -WEB_SITE="http://pages.cs.wisc.edu/~ghost/" 1.15 -WGET_URL="http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs862/$TARBALL" 1.16 DEPENDS="expat fontconfig freetype gnutls jpeg libgcrypt libgpg-error \ 1.17 libiconv libpng tiff zlib cups xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ 1.18 -xorg-libXdmcp xorg-libXext xorg-libXt" 1.19 +xorg-libXdmcp xorg-libXext xorg-libXt" 1.20 +# build depends are optional ; ghostscripts still build but dose not compile in cups support 1.21 +BUILD_DEPENDS="libiconv cairo-dev gtk+-dev" 1.22 +WEB_SITE="http://pages.cs.wisc.edu/~ghost/" 1.23 +#WGET_URL="http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs862/$TARBALL" 1.24 +WGET_URL="http://ghostscript.com/releases/$TARBALL" 1.25 + 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 @@ -21,21 +25,44 @@ 1.30 --infodir=/usr/share/info \ 1.31 --mandir=/usr/share/man \ 1.32 --with-libiconv=native \ 1.33 + --disable-compile-inits \ 1.34 + --enable-dynamic \ 1.35 + --enable-cups \ 1.36 + --enable-cairo \ 1.37 + --enable-gtk \ 1.38 + --with-fontpath=/usr/share/fonts/truetype/:/usr/share/fonts \ 1.39 $CONFIGURE_ARGS && 1.40 make && 1.41 - make DESTDIR=$PWD/_pkg install 1.42 + make DESTDIR=$PWD/_pkg install soinstall 1.43 + 1.44 } 1.45 1.46 # Rules to gen a SliTaz package suitable for Tazpkg. 1.47 genpkg_rules() 1.48 { 1.49 mkdir -p $fs/usr/share 1.50 + mkdir -p $fs/usr/lib 1.51 cp -a $_pkg/usr/bin $fs/usr 1.52 cp -a $_pkg/usr/lib $fs/usr 1.53 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share 1.54 + # if cups-dev installed 1.55 cp -a $_pkg/usr/share/cups $fs/usr/share 1.56 cp -a $_pkg/etc $fs 1.57 # Remove doc and examples 1.58 rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc 1.59 rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples 1.60 + # Remove CMAPs (Non-free : not covered under GPL) : moved to non-free package get-ghostscript-CMAP 1.61 + rm -rf $fs/usr/share/$PACKAGE/$VERSION/Resource/CMap/* 1.62 + 1.63 + 1.64 + # already compiled as a shared lib; gsc is same as gs 1.65 + rm -rf $fs/usr/bin/gs 1.66 + 1.67 + 1.68 + 1.69 } 1.70 + 1.71 +post_install() 1.72 +{ 1.73 + ln -s /usr/bin/gsc /usr/bin/gs 1.74 +}