wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="ghostscript"
4 VERSION="8.62"
5 CATEGORY="office"
6 SHORT_DESC="Ghostscript tools and utilities."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://pages.cs.wisc.edu/~ghost/"
10 WGET_URL="http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs862/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
31 # Remove doc and examples
32 rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc
33 rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples
34 }