wok-current view pygobject/receipt @ rev 23630
updated sarg and sarg-php (2.3.11 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 17 08:01:58 2020 +0100 (2020-04-17) |
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 }