wok-6.x annotate pygobject/receipt @ rev 12382
Up: libassuan to 2.0.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 22:29:17 2012 +0000 (2012-04-19) |
parents | 3acde357cf8c |
children | 76b72f1ad63c |
rev | line source |
---|---|
erjo@1175 | 1 # SliTaz package receipt. |
erjo@1175 | 2 |
erjo@1175 | 3 PACKAGE="pygobject" |
gokhlayeh@11413 | 4 VERSION="2.28.6" |
erjo@1175 | 5 CATEGORY="development" |
erjo@1175 | 6 SHORT_DESC="Python bindings for the GObject library" |
erjo@1175 | 7 MAINTAINER="erjo@slitaz.org" |
gokhlayeh@11413 | 8 DEPENDS="python pycairo glib libffi libgio" |
gokhlayeh@11413 | 9 BUILD_DEPENDS="python python-dev pkg-config glib-dev libgio-dev pycairo-dev cairo-dev libffi-dev" |
erjo@1175 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1413 | 11 WEB_SITE="http://www.pygtk.org/docs/pygobject/index.html" |
slaxemulator@9490 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$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 |
gokhlayeh@11413 | 18 ./configure --disable-introspection $CONFIGURE_ARGS && |
slaxemulator@10230 | 19 make && make install |
erjo@1175 | 20 } |
erjo@1175 | 21 |
erjo@1175 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1175 | 23 genpkg_rules() |
erjo@1175 | 24 { |
pascal@6594 | 25 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
erjo@1175 | 26 mkdir -p $fs/usr/lib |
pascal@6592 | 27 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib |
erjo@4695 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1175 | 29 } |
erjo@1175 | 30 |