wok-current annotate libgnomeprint/receipt @ rev 17230
flake8, snimpy: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 16 15:18:12 2014 +0200 (2014-10-16) |
parents | 7424e96305c4 |
children | 86790a278e70 |
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" |
pascal@14714 | 8 LICENSE="GPL2" |
pankso@37 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@37 | 10 WEB_SITE="http://www.gnome.org/" |
slaxemulator@10210 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@37 | 12 |
pankso@9768 | 13 DEPENDS="gtk+ popt libxml2 libart_lgpl" |
pascal@12612 | 14 BUILD_DEPENDS="pkg-config glib-dev pango-dev intltool flex libart_lgpl-dev \ |
pascal@12612 | 15 libxml2-dev" |
pankso@9768 | 16 |
pankso@37 | 17 # Rules to configure and make the package. |
pankso@37 | 18 compile_rules() |
pankso@37 | 19 { |
pankso@37 | 20 cd $src |
pankso@37 | 21 ./configure \ |
pankso@37 | 22 --with-html-dir=/usr/share/doc \ |
slaxemulator@10210 | 23 --without-cups \ |
slaxemulator@10210 | 24 $CONFIGURE_ARGS && |
pankso@9768 | 25 make && make install |
pankso@37 | 26 } |
pankso@37 | 27 |
pankso@37 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@37 | 29 genpkg_rules() |
pankso@37 | 30 { |
pankso@37 | 31 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@37 | 32 |
pankso@37 | 33 # Copy shared libs |
pascal@14714 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14714 | 35 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib |
pankso@37 | 36 |
pascal@14714 | 37 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pascal@14714 | 38 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pankso@37 | 39 |
pankso@37 | 40 # Remove static libs |
pankso@37 | 41 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*.*a |
pankso@37 | 42 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*.*a |
pankso@37 | 43 } |
pankso@37 | 44 |