wok-current view gnome-python/receipt @ rev 15773
Update tazbug-website/receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 08 00:17:59 2014 +0100 (2014-01-08) |
parents | d1e2a8a1dec3 |
children | 16df76e1fc6a |
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 cd $src
21 ./configure \
22 --libexecdir=/usr/lib/$PACKAGE \
23 --sysconfdir=/etc/gnome \
24 --disable-pam $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/share/pygtk $fs/usr/share
33 cp -a $install/usr/lib $fs/usr
34 rm -rf $fs/usr/lib/pkgconfig
35 rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a
36 }