wok-6.x view ghostscript/receipt @ rev 2485

gdb-glibmm: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 15 21:23:09 2009 +0000 (2009-03-15)
parents b6aafa8cf498
children 8b79c3ee7ac2
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"
11 DEPENDS="expat fontconfig freetype gnutls jpeg libgcrypt libgpg-error \
12 libiconv libpng tiff zlib"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --with-libiconv=native \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
35 cp -a $_pkg/usr/share/cups $fs/usr/share
36 cp -a $_pkg/etc $fs
37 # Remove doc and examples
38 rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc
39 rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples
40 }