wok annotate pygobject/receipt @ rev 25711

updated nnn (4.5 -> 4.9) and added receipt for nnn-plugins
author Hans-G?nter Theisgen
date Tue Aug 06 16:51:38 2024 +0100 (3 months ago)
parents 2a362443b481
children ffe3a28f2096
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
pascal@24111 18 current_version()
pascal@24111 19 {
pascal@24111 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 22 }
pascal@24111 23
erjo@1175 24 # Rules to configure and make the package.
erjo@1175 25 compile_rules()
erjo@1175 26 {
Hans-G?nter@23461 27 ./configure \
Hans-G?nter@23461 28 --disable-introspection \
Hans-G?nter@23461 29 $CONFIGURE_ARGS &&
Hans-G?nter@23461 30 make &&
Hans-G?nter@23461 31 make install
erjo@1175 32 }
erjo@1175 33
erjo@1175 34 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1175 35 genpkg_rules()
erjo@1175 36 {
pascal@6594 37 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
Hans-G?nter@23461 38
erjo@1175 39 mkdir -p $fs/usr/lib
Hans-G?nter@23461 40 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
Hans-G?nter@23461 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@1175 42 }