wok-next annotate pycairo/receipt @ rev 1551
bluefish: add /usr/share/mime-info
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 11 20:45:16 2008 +0000 (2008-10-11) |
parents | 970a1182e8d1 |
children | 93b397dc8274 |
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" |
pascal@1465 | 8 DEPENDS="cairo" |
pascal@1465 | 9 BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto" |
erjo@1175 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1175 | 11 WEB_SITE="http://www.cairographics.org/pycairo/" |
erjo@1175 | 12 WGET_URL="http://www.cairographics.org/releases/$TARBALL" |
erjo@1175 | 13 |
erjo@1175 | 14 # Rules to configure and make the package. |
erjo@1175 | 15 compile_rules() |
erjo@1175 | 16 { |
erjo@1175 | 17 cd $src |
erjo@1175 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1465 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1465 | 20 make && |
erjo@1175 | 21 make DESTDIR=$PWD/_pkg install |
erjo@1175 | 22 } |
erjo@1175 | 23 |
erjo@1175 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1175 | 25 genpkg_rules() |
erjo@1175 | 26 { |
erjo@1175 | 27 mkdir -p $fs/usr/lib |
erjo@1175 | 28 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib |
erjo@1175 | 29 } |
erjo@1175 | 30 |