wok annotate gnome-python/receipt @ rev 24005

cdrkit: force catalog sort weight
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 19 09:09:36 2021 +0000 (2021-01-19)
parents 16df76e1fc6a
children 6831608a1b2a
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
slaxemulator@7788 17 # Rules to configure and make the package.
slaxemulator@7788 18 compile_rules()
slaxemulator@7788 19 {
pascal@11229 20 ./configure \
pascal@11229 21 --libexecdir=/usr/lib/$PACKAGE \
pascal@11229 22 --sysconfdir=/etc/gnome \
gokhlayeh@11573 23 --disable-pam $CONFIGURE_ARGS &&
pascal@11229 24 make && make install
slaxemulator@7788 25 }
slaxemulator@7788 26
slaxemulator@7788 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7788 28 genpkg_rules()
slaxemulator@7788 29 {
pascal@11229 30 mkdir -p $fs/usr/share
pascal@11229 31 cp -a $install/usr/share/pygtk $fs/usr/share
pascal@11229 32 cp -a $install/usr/lib $fs/usr
pascal@11229 33 rm -rf $fs/usr/lib/pkgconfig
pascal@11229 34 rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a
slaxemulator@7788 35 }