wok view ghostscript/receipt @ rev 2516

g*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 16 22:01:20 2009 +0000 (2009-03-16)
parents 987853b8719d
children a22540dbc257
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 cups xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
13 xorg-libXdmcp xorg-libXext xorg-libXt"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --with-libiconv=native \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib $fs/usr
35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
36 cp -a $_pkg/usr/share/cups $fs/usr/share
37 cp -a $_pkg/etc $fs
38 # Remove doc and examples
39 rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc
40 rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples
41 }