wok-6.x annotate gnome-python/receipt @ rev 24328

updated asunder (2.9.5 -> 2.9.7)
author Hans-G?nter Theisgen
date Thu Jan 27 14:28:54 2022 +0100 (2022-01-27)
parents 86790a278e70
children
rev   line source
slaxemulator@7788 1 # SliTaz package receipt.
slaxemulator@7788 2
slaxemulator@7788 3 PACKAGE="gnome-python"
slaxemulator@7788 4 VERSION="2.28.1"
pascal@11229 5 CATEGORY="x-window"
pascal@11229 6 SHORT_DESC="Python bindings for GNOME."
slaxemulator@7788 7 MAINTAINER="pankso@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
pascal@11229 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20421 10 WEB_SITE="https://www.gnome.org/"
slaxemulator@7788 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@7788 12
pascal@11229 13 DEPENDS="python pygobject pygtk libgnome"
pascal@13780 14 BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev audiofile \
pascal@13780 15 esound libxml2-dev"
pascal@11229 16
pascal@24111 17 current_version()
pascal@24111 18 {
pascal@24111 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 21 }
pascal@24111 22
slaxemulator@7788 23 # Rules to configure and make the package.
slaxemulator@7788 24 compile_rules()
slaxemulator@7788 25 {
pascal@11229 26 ./configure \
pascal@11229 27 --libexecdir=/usr/lib/$PACKAGE \
pascal@11229 28 --sysconfdir=/etc/gnome \
gokhlayeh@11573 29 --disable-pam $CONFIGURE_ARGS &&
pascal@11229 30 make && make install
slaxemulator@7788 31 }
slaxemulator@7788 32
slaxemulator@7788 33 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7788 34 genpkg_rules()
slaxemulator@7788 35 {
pascal@11229 36 mkdir -p $fs/usr/share
pascal@11229 37 cp -a $install/usr/share/pygtk $fs/usr/share
pascal@11229 38 cp -a $install/usr/lib $fs/usr
pascal@11229 39 rm -rf $fs/usr/lib/pkgconfig
pascal@11229 40 rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a
slaxemulator@7788 41 }