wok view ghostscript/receipt @ rev 2725
Add: exiv2, exiv2-dev
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Apr 24 07:28:47 2009 +0000 (2009-04-24) |
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 }