wok-current view python-gconf/receipt @ rev 15237

memtest-serial: fix receipt name
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 23 10:36:37 2013 +0000 (2013-09-23)
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 }