wok annotate ghostscript/receipt @ rev 2093
slitaz-configs: up DEPENDS for 1.0 to 2.0 upgrade (new desktop)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 28 18:57:20 2009 +0100 (2009-01-28) |
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 } |