wok annotate cairo/receipt @ rev 1460
aterm beaver chemtool gftp grisbi gtick gtk-gnutella klavaro leafpad mtpaint sylpheed wine xpad: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 03 20:14:14 2008 +0000 (2008-10-03) |
parents | 3a7bbc8e1907 |
children | 52dc4b48ed81 |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="cairo" |
pankso@832 | 4 VERSION="1.6.4" |
pankso@22 | 5 CATEGORY="x-window" |
pankso@22 | 6 SHORT_DESC="2D graphics library." |
pankso@22 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@1063 | 8 DEPENDS="glib pixman" |
pankso@832 | 9 BUILD_DEPENDS="glib-dev gtk+-dev pixman-dev" |
pankso@22 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@22 | 11 WEB_SITE="http://www.cairographics.org/" |
pankso@22 | 12 WGET_URL="http://cairographics.org/releases/$TARBALL" |
pankso@22 | 13 |
pankso@22 | 14 # Rules to configure and make the package. |
pankso@22 | 15 compile_rules() |
pankso@22 | 16 { |
pankso@22 | 17 cd $src |
pankso@832 | 18 ./configure \ |
pankso@832 | 19 --prefix=/usr \ |
pankso@832 | 20 --mandir=/usr/share/man \ |
pankso@832 | 21 --with-html-dir=/usr/share/doc \ |
pankso@832 | 22 $CONFIGURE_ARGS |
pankso@22 | 23 make |
pankso@22 | 24 make DESTDIR=$PWD/_pkg install |
pankso@22 | 25 } |
pankso@22 | 26 |
pankso@22 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 28 genpkg_rules() |
pankso@22 | 29 { |
pankso@22 | 30 mkdir -p $fs/usr/lib |
pankso@22 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 32 } |