wok view pygobject/receipt @ rev 23606
updated ranger (1.9.2 -> 1.9.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 11 17:55:48 2020 +0100 (2020-04-11) |
parents | 16df76e1fc6a |
children | 6831608a1b2a |
line source
1 # SliTaz package receipt.
3 PACKAGE="pygobject"
4 VERSION="2.28.7"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the GObject library."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://wiki.gnome.org/Projects/PyGObject"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="glib libffi libgio pycairo python"
15 BUILD_DEPENDS="cairo-dev glib-dev libffi-dev libgio-dev pkg-config pycairo-dev
16 python python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --disable-introspection \
23 $CONFIGURE_ARGS &&
24 make &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }