wok-6.x view python-gconf/receipt @ rev 13291

Up sslh (1.13)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 27 15:45:50 2012 +0200 (2012-08-27)
parents
children a00bf44ed23d
line source
1 # SliTaz package receipt.
3 PACKAGE="python-gconf"
4 VERSION="2.28.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Python bindings for gconf."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="python GConf"
9 WANTED="gnome-python"
10 WEB_SITE="http://www.gnome.org/"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 _PYTHONVER=$(grep ^VERSION= $WOK/python/receipt | cut -d "=" -f2 | sed -e 's/"//g')
16 mkdir -p $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0
17 cp -a $_pkg/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0/gconf.so \
18 $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0
19 }