wok-current view pygobject/receipt @ rev 22913
lingnutls: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 24 11:32:12 2020 +0100 (2020-02-24) |
parents | 76b72f1ad63c |
children | 2a362443b481 |
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 }