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

libplist: Add swig to build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Feb 21 17:14:24 2012 -0500 (2012-02-21)
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 }