wok view python-gconf/receipt @ rev 9047

boxbackup-server: do not compute $_pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 09:06:40 2011 +0100 (2011-03-04)
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 }