wok-6.x annotate pygoocanvas/receipt @ rev 18374

Add hash-slinger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 16 22:29:25 2015 +0200 (2015-09-16)
parents 5551b5b6a75e
children 6135577f4d08
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"
pascal@15376 8 LICENSE="GPL2"
slaxemulator@6909 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@6909 10 WEB_SITE="http://developer.berlios.de/projects/pygoocanvas"
slaxemulator@6909 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygoocanvas/${VERSION%.*}/$TARBALL"
slaxemulator@6909 12
pascal@15376 13 DEPENDS="python pygtk goocanvas"
pascal@15376 14 BUILD_DEPENDS="goocanvas-dev python-dev pygobject-dev pycairo-dev pygtk-dev pkg-config"
pascal@15376 15
slaxemulator@6909 16 # Rules to configure and make the package.
slaxemulator@6909 17 compile_rules()
slaxemulator@6909 18 {
slaxemulator@6909 19 cd $src
slaxemulator@6909 20 ./configure \
slaxemulator@6909 21 --prefix=/usr \
slaxemulator@6909 22 --infodir=/usr/share/info \
slaxemulator@6909 23 --mandir=/usr/share/man \
slaxemulator@6909 24 --disable-docs \
slaxemulator@6909 25 $CONFIGURE_ARGS &&
pascal@15376 26 make && make DESTDIR=$DESTDIR install
slaxemulator@6909 27 }
slaxemulator@6909 28
slaxemulator@6909 29 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6909 30 genpkg_rules()
slaxemulator@6909 31 {
slaxemulator@6909 32 mkdir -p $fs/usr
pascal@15376 33 cp -a $install/usr/lib $fs/usr
slaxemulator@6909 34 }
slaxemulator@6909 35