wok annotate libgnomeprint/receipt @ rev 1930
Squashfs: add lzma support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 24 17:02:24 2008 +0000 (2008-12-24) |
parents | 52dc4b48ed81 |
children | 4786cbebbb4b |
rev | line source |
---|---|
pankso@37 | 1 # SliTaz package receipt. |
pankso@37 | 2 |
pankso@37 | 3 PACKAGE="libgnomeprint" |
pankso@37 | 4 VERSION="2.18.0" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@37 | 6 SHORT_DESC="GNOME print library" |
pankso@37 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@37 | 8 DEPENDS="gtk+ popt libxml2" |
pascal@1514 | 9 BUILD_DEPENDS="perl perl-xml-parser libart_lgpl pkg-config glib-dev pango-dev" |
pankso@37 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@37 | 11 WEB_SITE="http://www.gnome.org/" |
pankso@37 | 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/libgnomeprint/2.18/$TARBALL" |
pankso@37 | 13 |
pankso@37 | 14 # Rules to configure and make the package. |
pankso@37 | 15 compile_rules() |
pankso@37 | 16 { |
pankso@37 | 17 cd $src |
pankso@37 | 18 ./configure \ |
pankso@37 | 19 --prefix=/usr \ |
pankso@37 | 20 --infodir=/usr/share/info \ |
pankso@37 | 21 --mandir=/usr/share/man \ |
pankso@37 | 22 --with-html-dir=/usr/share/doc \ |
pascal@1522 | 23 --without-cups \ |
pascal@1481 | 24 $CONFIGURE_ARGS && |
pascal@1481 | 25 make && |
pankso@37 | 26 make DESTDIR=$PWD/_pkg install |
pankso@37 | 27 } |
pankso@37 | 28 |
pankso@37 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@37 | 30 genpkg_rules() |
pankso@37 | 31 { |
pankso@37 | 32 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@37 | 33 |
pankso@37 | 34 # Copy shared libs |
pankso@37 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@37 | 36 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib |
pankso@37 | 37 |
pankso@37 | 38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@37 | 39 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@37 | 40 |
pankso@37 | 41 # Remove static libs |
pankso@37 | 42 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*.*a |
pankso@37 | 43 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*.*a |
pankso@37 | 44 strip -s $fs/usr/lib/* 2>/dev/null |
pankso@37 | 45 strip $fs/usr/lib/$PACKAGE/$VERSION/modules/*.so |
pankso@37 | 46 strip $fs/usr/lib/$PACKAGE/$VERSION/modules/*/* |
pankso@37 | 47 } |
pankso@37 | 48 |