wok-current annotate 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 |
rev | line source |
---|---|
erjo@1175 | 1 # SliTaz package receipt. |
erjo@1175 | 2 |
erjo@1175 | 3 PACKAGE="pygobject" |
Hans-G?nter@23461 | 4 VERSION="2.28.7" |
erjo@1175 | 5 CATEGORY="development" |
Hans-G?nter@23461 | 6 SHORT_DESC="Python bindings for the GObject library." |
erjo@1175 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@23461 | 9 WEB_SITE="https://wiki.gnome.org/Projects/PyGObject" |
Hans-G?nter@23461 | 10 |
Hans-G?nter@23461 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@9490 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@1175 | 13 |
Hans-G?nter@23461 | 14 DEPENDS="glib libffi libgio pycairo python" |
Hans-G?nter@23461 | 15 BUILD_DEPENDS="cairo-dev glib-dev libffi-dev libgio-dev pkg-config pycairo-dev |
Hans-G?nter@23461 | 16 python python-dev" |
pascal@14996 | 17 |
erjo@1175 | 18 # Rules to configure and make the package. |
erjo@1175 | 19 compile_rules() |
erjo@1175 | 20 { |
Hans-G?nter@23461 | 21 ./configure \ |
Hans-G?nter@23461 | 22 --disable-introspection \ |
Hans-G?nter@23461 | 23 $CONFIGURE_ARGS && |
Hans-G?nter@23461 | 24 make && |
Hans-G?nter@23461 | 25 make install |
erjo@1175 | 26 } |
erjo@1175 | 27 |
erjo@1175 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1175 | 29 genpkg_rules() |
erjo@1175 | 30 { |
pascal@6594 | 31 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
Hans-G?nter@23461 | 32 |
erjo@1175 | 33 mkdir -p $fs/usr/lib |
Hans-G?nter@23461 | 34 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib |
Hans-G?nter@23461 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@1175 | 36 } |