wok view pygobject/receipt @ rev 20681

Down cdrtools (3.00) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 26 17:03:55 2019 +0100 (2019-01-26)
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 }