wok-current view python-gconf/receipt @ rev 19766
mysql, mariadb: fix pre_install status (thanks Aleksej)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 20 09:35:09 2017 +0100 (2017-02-20) |
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 }