wok view gnome-python/receipt @ rev 18808

Up openssh (7.1p2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 14 19:03:24 2016 +0100 (2016-01-14)
parents a00bf44ed23d
children 86790a278e70
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-python"
4 VERSION="2.28.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Python bindings for GNOME."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnome.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="python pygobject pygtk libgnome"
14 BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev audiofile \
15 esound libxml2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --libexecdir=/usr/lib/$PACKAGE \
22 --sysconfdir=/etc/gnome \
23 --disable-pam $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/usr/share/pygtk $fs/usr/share
32 cp -a $install/usr/lib $fs/usr
33 rm -rf $fs/usr/lib/pkgconfig
34 rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a
35 }