wok-6.x annotate pygobject/receipt @ rev 6103
glib: breaks build_depends loop with cairo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 03 11:06:18 2010 +0200 (2010-09-03) |
parents | 734283599021 |
children | 5921dc28d8c6 |
rev | line source |
---|---|
erjo@1175 | 1 # SliTaz package receipt. |
erjo@1175 | 2 |
erjo@1175 | 3 PACKAGE="pygobject" |
erjo@4695 | 4 VERSION="2.20.0" |
erjo@1175 | 5 CATEGORY="development" |
erjo@1175 | 6 SHORT_DESC="Python bindings for the GObject library" |
erjo@1175 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@5005 | 8 DEPENDS="python glib libffi libgio" |
erjo@4784 | 9 BUILD_DEPENDS="python python-dev pkg-config glib glib-dev libffi-dev" |
erjo@1175 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1413 | 11 WEB_SITE="http://www.pygtk.org/docs/pygobject/index.html" |
erjo@4695 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.20/$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@1458 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1458 | 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@4695 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1175 | 30 } |
erjo@1175 | 31 |