wok-current view ghostscript/receipt @ rev 2271

vacation: add BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 18 11:41:03 2009 +0000 (2009-02-18)
parents 274766c94e13
children 987853b8719d
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 --with-libiconv=native \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
33 cp -a $_pkg/usr/share/cups $fs/usr/share
34 cp -a $_pkg/etc $fs
35 # Remove doc and examples
36 rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc
37 rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples
38 }