wok-next view pygobject/receipt @ rev 18714
Up openssl (1.0.1q) and depending pkgs (thanks Erkan)
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Wed Dec 16 21:14:36 2015 +0100 (2015-12-16) |
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 }