wok-next view pygobject/receipt @ rev 18476

Up firefox-official(41.0.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 06 20:43:34 2015 +0300 (2015-10-06)
parents 76b72f1ad63c
children 9278a60d6895
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 \
15 cairo-dev libffi-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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 }