wok-6.x annotate libgnomeprint/receipt @ rev 12612
libgnomeprint: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 09:42:10 2012 +0200 (2012-04-29) |
parents | 15b53401a938 |
children | 4904e3d374a9 |
rev | line source |
---|---|
pankso@37 | 1 # SliTaz package receipt. |
pankso@37 | 2 |
pankso@37 | 3 PACKAGE="libgnomeprint" |
slaxemulator@10210 | 4 VERSION="2.18.8" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@37 | 6 SHORT_DESC="GNOME print library" |
pankso@37 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@37 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@37 | 9 WEB_SITE="http://www.gnome.org/" |
slaxemulator@10210 | 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@37 | 11 |
pankso@9768 | 12 DEPENDS="gtk+ popt libxml2 libart_lgpl" |
pascal@12612 | 13 BUILD_DEPENDS="pkg-config glib-dev pango-dev intltool flex libart_lgpl-dev \ |
pascal@12612 | 14 libxml2-dev" |
pankso@9768 | 15 |
pankso@37 | 16 # Rules to configure and make the package. |
pankso@37 | 17 compile_rules() |
pankso@37 | 18 { |
pankso@37 | 19 cd $src |
pankso@37 | 20 ./configure \ |
pankso@37 | 21 --with-html-dir=/usr/share/doc \ |
slaxemulator@10210 | 22 --without-cups \ |
slaxemulator@10210 | 23 $CONFIGURE_ARGS && |
pankso@9768 | 24 make && make install |
pankso@37 | 25 } |
pankso@37 | 26 |
pankso@37 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@37 | 28 genpkg_rules() |
pankso@37 | 29 { |
pankso@37 | 30 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@37 | 31 |
pankso@37 | 32 # Copy shared libs |
pankso@37 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@37 | 34 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib |
pankso@37 | 35 |
pankso@37 | 36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@37 | 37 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@37 | 38 |
pankso@37 | 39 # Remove static libs |
pankso@37 | 40 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*.*a |
pankso@37 | 41 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*.*a |
pankso@37 | 42 } |
pankso@37 | 43 |