wok-6.x annotate pycairo/receipt @ rev 1245
perdition: describe known bugs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 12 07:24:16 2008 +0000 (2008-08-12) |
parents | |
children | c1ff74d9b6f4 |
rev | line source |
---|---|
erjo@1175 | 1 # SliTaz package receipt. |
erjo@1175 | 2 |
erjo@1175 | 3 PACKAGE="pycairo" |
erjo@1175 | 4 VERSION="1.4.12" |
erjo@1175 | 5 CATEGORY="development" |
erjo@1175 | 6 SHORT_DESC="Python bindings for the cairo graphics library." |
erjo@1175 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@1175 | 8 DEPENDS="" |
erjo@1175 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1175 | 10 WEB_SITE="http://www.cairographics.org/pycairo/" |
erjo@1175 | 11 WGET_URL="http://www.cairographics.org/releases/$TARBALL" |
erjo@1175 | 12 |
erjo@1175 | 13 # Rules to configure and make the package. |
erjo@1175 | 14 compile_rules() |
erjo@1175 | 15 { |
erjo@1175 | 16 cd $src |
erjo@1175 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@1175 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@1175 | 19 make |
erjo@1175 | 20 make DESTDIR=$PWD/_pkg install |
erjo@1175 | 21 } |
erjo@1175 | 22 |
erjo@1175 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1175 | 24 genpkg_rules() |
erjo@1175 | 25 { |
erjo@1175 | 26 mkdir -p $fs/usr/lib |
erjo@1175 | 27 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib |
erjo@1175 | 28 } |
erjo@1175 | 29 |