wok-next diff python-gconf/receipt @ rev 12753

dosbox: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 11 13:42:55 2012 +0200 (2012-05-11)
parents
children a00bf44ed23d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-gconf/receipt	Fri May 11 13:42:55 2012 +0200
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-gconf"
     1.7 +VERSION="2.28.1"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Python bindings for gconf."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="python GConf"
    1.12 +WANTED="gnome-python"
    1.13 +WEB_SITE="http://www.gnome.org/"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	_PYTHONVER=$(grep  ^VERSION= $WOK/python/receipt | cut -d "=" -f2 | sed -e 's/"//g')
    1.19 +	mkdir -p $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0
    1.20 +	cp -a $_pkg/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0/gconf.so \
    1.21 +		$fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0
    1.22 +}