wok-6.x view ghostscript/receipt @ rev 1675
Add libgd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 08 13:58:58 2008 +0000 (2008-11-08) |
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 }