wok view pygobject/receipt @ rev 17212

cyrus-imapd: enable murder
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 10 15:22:16 2014 +0200 (2014-10-10)
parents 068c389c7e86
children 16df76e1fc6a
line source
1 # SliTaz package receipt.
3 PACKAGE="pygobject"
4 VERSION="2.28.6"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the GObject library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.pygtk.org/docs/pygobject/index.html"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="python pycairo glib libffi libgio"
14 BUILD_DEPENDS="python python-dev pkg-config glib-dev libgio-dev pycairo-dev cairo-dev libffi-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --disable-introspection $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }