wok-6.x view pygobject/receipt @ rev 10441

hal-cups-utils: fix bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 25 02:47:07 2011 +0200 (2011-05-25)
parents 4870a1e508a5
children 068c389c7e86
line source
1 # SliTaz package receipt.
3 PACKAGE="pygobject"
4 VERSION="2.28.4"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the GObject library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="python pycairo glib libffi libgio gobject-introspection"
9 BUILD_DEPENDS="python python-dev pkg-config glib-dev libgio-dev pycairo-dev cairo-dev libffi-dev gobject-introspection-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.pygtk.org/docs/pygobject/index.html"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure $CONFIGURE_ARGS &&
19 make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }