# HG changeset patch # User Christophe Lincoln # Date 1208731945 -7200 # Node ID 274766c94e136f42efd0ae639df13cb397b4a019 # Parent 9266fae1f9f945c47c87f16cbb618c64175e1a11 Add: ghostscript (Postscript viewer and tools) diff -r 9266fae1f9f9 -r 274766c94e13 ghostscript/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ghostscript/receipt Mon Apr 21 00:52:25 2008 +0200 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="ghostscript" +VERSION="8.62" +CATEGORY="office" +SHORT_DESC="Ghostscript tools and utilities." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://pages.cs.wisc.edu/~ghost/" +WGET_URL="http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs862/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share + # Remove doc and examples + rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc + rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples +}