wok-stable annotate pygoocanvas/receipt @ rev 9859
php: should fix the receipt (missing $install and sed bdep)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 16 16:29:17 2011 +0200 (2011-05-16) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@6909 | 1 # SliTaz package receipt. |
slaxemulator@6909 | 2 |
slaxemulator@6909 | 3 PACKAGE="pygoocanvas" |
slaxemulator@6909 | 4 VERSION="0.14.1" |
slaxemulator@6909 | 5 CATEGORY="development" |
slaxemulator@6909 | 6 SHORT_DESC="GooCanvas python bindings" |
slaxemulator@6909 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@6909 | 8 DEPENDS="python pygtk goocanvas" |
slaxemulator@6909 | 9 BUILD_DEPENDS="goocanvas-dev python-dev pygobject-dev pycairo-dev pygtk-dev pkg-config" |
slaxemulator@6909 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@6909 | 11 WEB_SITE="http://developer.berlios.de/projects/pygoocanvas" |
slaxemulator@6909 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygoocanvas/${VERSION%.*}/$TARBALL" |
slaxemulator@6909 | 13 |
slaxemulator@6909 | 14 # Rules to configure and make the package. |
slaxemulator@6909 | 15 compile_rules() |
slaxemulator@6909 | 16 { |
slaxemulator@6909 | 17 cd $src |
slaxemulator@6909 | 18 ./configure \ |
slaxemulator@6909 | 19 --prefix=/usr \ |
slaxemulator@6909 | 20 --infodir=/usr/share/info \ |
slaxemulator@6909 | 21 --mandir=/usr/share/man \ |
slaxemulator@6909 | 22 --disable-docs \ |
slaxemulator@6909 | 23 $CONFIGURE_ARGS && |
slaxemulator@6909 | 24 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6909 | 25 } |
slaxemulator@6909 | 26 |
slaxemulator@6909 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6909 | 28 genpkg_rules() |
slaxemulator@6909 | 29 { |
slaxemulator@6909 | 30 mkdir -p $fs/usr |
slaxemulator@6909 | 31 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@6909 | 32 } |
slaxemulator@6909 | 33 |