wok-6.x view python-gconf/receipt @ rev 18765
Fix grep post_remove()
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Tue Dec 29 23:04:30 2015 +0100 (2015-12-29) |
parents | 8f61ae7039d1 |
children | 86790a278e70 |
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 LICENSE="LGPL2"
9 DEPENDS="python GConf"
10 WANTED="gnome-python"
11 WEB_SITE="http://www.gnome.org/"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 _PYTHONVER=$(grep ^VERSION= $WOK/python/receipt | cut -d "=" -f2 | sed -e 's/"//g')
17 mkdir -p $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0
18 cp -a $install/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0/gconf.so \
19 $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0
20 }