wok-6.x annotate libgnomeprint/receipt @ rev 9768
libgnomeprint: Fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 11 20:22:36 2011 +0200 (2011-05-11) |
parents | e5ae411e1d8c |
children | 15b53401a938 |
rev | line source |
---|---|
pankso@37 | 1 # SliTaz package receipt. |
pankso@37 | 2 |
pankso@37 | 3 PACKAGE="libgnomeprint" |
slaxemulator@6173 | 4 VERSION="2.18.7" |
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/" |
pankso@37 | 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/libgnomeprint/2.18/$TARBALL" |
pankso@37 | 11 |
pankso@9768 | 12 DEPENDS="gtk+ popt libxml2 libart_lgpl" |
pankso@9768 | 13 BUILD_DEPENDS="pkg-config glib-dev pango-dev intltool flex libart_lgpl-dev" |
pankso@9768 | 14 |
pankso@37 | 15 # Rules to configure and make the package. |
pankso@37 | 16 compile_rules() |
pankso@37 | 17 { |
pankso@37 | 18 cd $src |
pankso@37 | 19 ./configure \ |
pankso@37 | 20 --with-html-dir=/usr/share/doc \ |
pankso@9768 | 21 --without-cups && |
pankso@9768 | 22 make && make install |
pankso@37 | 23 } |
pankso@37 | 24 |
pankso@37 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@37 | 26 genpkg_rules() |
pankso@37 | 27 { |
pankso@37 | 28 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@37 | 29 |
pankso@37 | 30 # Copy shared libs |
pankso@37 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@37 | 32 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib |
pankso@37 | 33 |
pankso@37 | 34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@37 | 35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@37 | 36 |
pankso@37 | 37 # Remove static libs |
pankso@37 | 38 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*.*a |
pankso@37 | 39 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*.*a |
pankso@37 | 40 } |
pankso@37 | 41 |