wok-next annotate ghostscript/receipt @ rev 2211

ghostscript: fix pstoraster support
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 11 17:30:26 2009 +0100 (2009-02-11)
parents 274766c94e13
children 987853b8719d
rev   line source
pankso@626 1 # SliTaz package receipt.
pankso@626 2
pankso@626 3 PACKAGE="ghostscript"
pankso@626 4 VERSION="8.62"
pankso@626 5 CATEGORY="office"
pankso@626 6 SHORT_DESC="Ghostscript tools and utilities."
pankso@626 7 MAINTAINER="pankso@slitaz.org"
pankso@626 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@626 9 WEB_SITE="http://pages.cs.wisc.edu/~ghost/"
pankso@626 10 WGET_URL="http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs862/$TARBALL"
pankso@626 11
pankso@626 12 # Rules to configure and make the package.
pankso@626 13 compile_rules()
pankso@626 14 {
pankso@626 15 cd $src
pankso@626 16 ./configure \
pankso@626 17 --prefix=/usr \
pankso@626 18 --infodir=/usr/share/info \
pankso@626 19 --mandir=/usr/share/man \
pankso@2211 20 --with-libiconv=native \
pankso@2211 21 $CONFIGURE_ARGS &&
pankso@2211 22 make &&
pankso@626 23 make DESTDIR=$PWD/_pkg install
pankso@626 24 }
pankso@626 25
pankso@626 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@626 27 genpkg_rules()
pankso@626 28 {
pankso@626 29 mkdir -p $fs/usr/share
pankso@626 30 cp -a $_pkg/usr/bin $fs/usr
pankso@2211 31 cp -a $_pkg/usr/lib $fs/usr
pankso@626 32 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
pankso@2211 33 cp -a $_pkg/usr/share/cups $fs/usr/share
pankso@2211 34 cp -a $_pkg/etc $fs
pankso@626 35 # Remove doc and examples
pankso@626 36 rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc
pankso@626 37 rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples
pankso@626 38 }