wok annotate 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 |
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@2485 | 12 libiconv libpng tiff zlib" |
pankso@626 | 13 |
pankso@626 | 14 # Rules to configure and make the package. |
pankso@626 | 15 compile_rules() |
pankso@626 | 16 { |
pankso@626 | 17 cd $src |
pankso@626 | 18 ./configure \ |
pankso@626 | 19 --prefix=/usr \ |
pankso@626 | 20 --infodir=/usr/share/info \ |
pankso@626 | 21 --mandir=/usr/share/man \ |
pankso@2211 | 22 --with-libiconv=native \ |
pankso@2211 | 23 $CONFIGURE_ARGS && |
pankso@2211 | 24 make && |
pankso@626 | 25 make DESTDIR=$PWD/_pkg install |
pankso@626 | 26 } |
pankso@626 | 27 |
pankso@626 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@626 | 29 genpkg_rules() |
pankso@626 | 30 { |
pankso@626 | 31 mkdir -p $fs/usr/share |
pankso@626 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@2211 | 33 cp -a $_pkg/usr/lib $fs/usr |
pankso@626 | 34 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@2211 | 35 cp -a $_pkg/usr/share/cups $fs/usr/share |
pankso@2211 | 36 cp -a $_pkg/etc $fs |
pankso@626 | 37 # Remove doc and examples |
pankso@626 | 38 rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc |
pankso@626 | 39 rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples |
pankso@626 | 40 } |