wok-current annotate ghostscript/receipt @ rev 1314

php*admin: add apache support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 27 18:41:39 2008 +0000 (2008-08-27)
parents
children b6aafa8cf498
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@626 20 $CONFIGURE_ARGS
pankso@626 21 make
pankso@626 22 make DESTDIR=$PWD/_pkg install
pankso@626 23 }
pankso@626 24
pankso@626 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@626 26 genpkg_rules()
pankso@626 27 {
pankso@626 28 mkdir -p $fs/usr/share
pankso@626 29 cp -a $_pkg/usr/bin $fs/usr
pankso@626 30 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
pankso@626 31 # Remove doc and examples
pankso@626 32 rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc
pankso@626 33 rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples
pankso@626 34 }