wok annotate ghostscript/receipt @ rev 2525
t*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 22:39:24 2009 +0000 (2009-03-16) |
parents | 987853b8719d |
children | a22540dbc257 |
rev | line source |
---|---|
pankso@626 | 1 # SliTaz package receipt. |
pankso@626 | 2 |
pankso@626 | 3 PACKAGE="ghostscript" |
pankso@626 | 4 VERSION="8.62" |
pankso@626 | 5 CATEGORY="office" |
pankso@626 | 6 SHORT_DESC="Ghostscript tools and utilities." |
pankso@626 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@626 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@626 | 9 WEB_SITE="http://pages.cs.wisc.edu/~ghost/" |
pankso@626 | 10 WGET_URL="http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs862/$TARBALL" |
pascal@2485 | 11 DEPENDS="expat fontconfig freetype gnutls jpeg libgcrypt libgpg-error \ |
pascal@2516 | 12 libiconv libpng tiff zlib cups xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ |
pascal@2516 | 13 xorg-libXdmcp xorg-libXext xorg-libXt" |
pankso@626 | 14 |
pankso@626 | 15 # Rules to configure and make the package. |
pankso@626 | 16 compile_rules() |
pankso@626 | 17 { |
pankso@626 | 18 cd $src |
pankso@626 | 19 ./configure \ |
pankso@626 | 20 --prefix=/usr \ |
pankso@626 | 21 --infodir=/usr/share/info \ |
pankso@626 | 22 --mandir=/usr/share/man \ |
pankso@2211 | 23 --with-libiconv=native \ |
pankso@2211 | 24 $CONFIGURE_ARGS && |
pankso@2211 | 25 make && |
pankso@626 | 26 make DESTDIR=$PWD/_pkg install |
pankso@626 | 27 } |
pankso@626 | 28 |
pankso@626 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@626 | 30 genpkg_rules() |
pankso@626 | 31 { |
pankso@626 | 32 mkdir -p $fs/usr/share |
pankso@626 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@2211 | 34 cp -a $_pkg/usr/lib $fs/usr |
pankso@626 | 35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@2211 | 36 cp -a $_pkg/usr/share/cups $fs/usr/share |
pankso@2211 | 37 cp -a $_pkg/etc $fs |
pankso@626 | 38 # Remove doc and examples |
pankso@626 | 39 rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc |
pankso@626 | 40 rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples |
pankso@626 | 41 } |