wok-next annotate libgnomeprintui/receipt @ rev 5601
Up Catalyst
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue May 18 08:27:44 2010 -0400 (2010-05-18) |
parents | 4786cbebbb4b |
children | 9e5783c9bd34 |
rev | line source |
---|---|
pankso@37 | 1 # SliTaz package receipt. |
pankso@37 | 2 |
pankso@37 | 3 PACKAGE="libgnomeprintui" |
pankso@37 | 4 VERSION="2.18.0" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@37 | 6 SHORT_DESC="GNOME print user interface library" |
pankso@37 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2477 | 8 DEPENDS="gtk+ libgnomeprint libgnomecanvas libart_lgpl" |
pascal@2493 | 9 BUILD_DEPENDS="perl-xml-parser pkg-config gtk+ gnome-icon-theme libgnomecanvas \ |
pascal@2493 | 10 libgnomecanvas-dev libgnomeprint libgnomeprint-dev" |
pankso@37 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@37 | 12 WEB_SITE="http://www.gnome.org/" |
pankso@37 | 13 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/2.18/$TARBALL" |
pankso@37 | 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 --prefix=/usr \ |
pankso@37 | 21 --infodir=/usr/share/info \ |
pankso@37 | 22 --mandir=/usr/share/man \ |
pankso@37 | 23 --with-html-dir=/usr/share/doc \ |
pascal@1491 | 24 $CONFIGURE_ARGS && |
pascal@1491 | 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 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@37 | 34 |
pankso@37 | 35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@37 | 36 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@37 | 37 |
pankso@37 | 38 strip -s $fs/usr/lib/* |
pankso@37 | 39 } |
pankso@37 | 40 |