wok-6.x annotate libgnomeprintui/receipt @ rev 10625
wvstreams: fic build (CONFIGURE_ARGS must sometime go first) + fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 26 21:39:55 2011 +0200 (2011-05-26) |
parents | 74bfdbd99e97 |
children | 11f1e3ba9ba2 |
rev | line source |
---|---|
pankso@37 | 1 # SliTaz package receipt. |
pankso@37 | 2 |
pankso@37 | 3 PACKAGE="libgnomeprintui" |
slaxemulator@10211 | 4 VERSION="2.18.6" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@37 | 6 SHORT_DESC="GNOME print user interface 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/$PACKAGE/2.18/$TARBALL" |
pankso@37 | 11 |
pankso@9770 | 12 DEPENDS="gtk+ libgnomeprint libgnomecanvas libart_lgpl" |
pankso@9770 | 13 BUILD_DEPENDS="pkg-config gnome-icon-theme flex libgnomeprint-dev \ |
pankso@9770 | 14 libgnomecanvas-dev libart_lgpl-dev" |
pankso@9770 | 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 \ |
slaxemulator@10211 | 21 --with-html-dir=/usr/share/doc \ |
slaxemulator@10211 | 22 $CONFIGURE_ARGS && |
pankso@9770 | 23 make && make install |
pankso@37 | 24 } |
pankso@37 | 25 |
pankso@37 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@37 | 27 genpkg_rules() |
pankso@37 | 28 { |
pankso@9770 | 29 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@37 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@37 | 31 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@37 | 32 } |