wok-current annotate pygobject/receipt @ rev 15196

pbzip2: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 03 17:54:09 2013 +0000 (2013-09-03)
parents 068c389c7e86
children 16df76e1fc6a
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"
pascal@14996 8 LICENSE="LGPL2.1"
erjo@1175 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1413 10 WEB_SITE="http://www.pygtk.org/docs/pygobject/index.html"
slaxemulator@9490 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@1175 12
pascal@14996 13 DEPENDS="python pycairo glib libffi libgio"
pascal@14996 14 BUILD_DEPENDS="python python-dev pkg-config glib-dev libgio-dev pycairo-dev cairo-dev libffi-dev"
pascal@14996 15
erjo@1175 16 # Rules to configure and make the package.
erjo@1175 17 compile_rules()
erjo@1175 18 {
erjo@1175 19 cd $src
gokhlayeh@11413 20 ./configure --disable-introspection $CONFIGURE_ARGS &&
slaxemulator@10230 21 make && make 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 {
pascal@6594 27 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
erjo@1175 28 mkdir -p $fs/usr/lib
pascal@14996 29 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
pascal@14996 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@1175 31 }
erjo@1175 32