Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=e1d42b81d244a4f19483c48449d0cb81369dc316

commit e1d42b81d244a4f19483c48449d0cb81369dc316
Author: Devil505 <devil505li...@gmail.com>
Date:   Tue Feb 22 14:50:46 2011 +0100

libgweather-2.30.3-2-i686
* python bindings enabled and splitted

diff --git a/source/gnome/libgweather/FrugalBuild 
b/source/gnome/libgweather/FrugalBuild
index 47899c1..8b7f9c2 100644
--- a/source/gnome/libgweather/FrugalBuild
+++ b/source/gnome/libgweather/FrugalBuild
@@ -3,16 +3,29 @@

pkgname=libgweather
pkgver=2.30.3
-pkgrel=1
+pkgrel=2
pkgdesc="libgweather is a library to access weather information from online 
services for numerous locations."
url="http://www.gnome.org/";
depends=('gtk+2' 'gconf>=2.32.0' 'libsoup>=2.32.0')
-makedepends=('perl-xml-parser' 'intltool')
+makedepends=('perl-xml-parser' 'intltool' 'python')
groups=('gnome' 'gnome-minimal')
archs=('i686' 'x86_64' 'ppc')
_F_gnome_schemas=('/etc/gconf/schemas/gweather.schemas')
-Finclude gnome gnome-scriptlet
+Finclude gnome gnome-scriptlet python
sha1sums=('e89aadc89d3405d1a3de12005fa839d9da5adbc1')
unset MAKEFLAGS

+subpkgs=("${subpkgs[@]}" "python-gweather")
+subdescs=("${subdescs[@]}" "Python bindings for libgweather")
+subdepends=("${subdepends[@]}" "python>=2.7")
+subrodepends=("${subrodepends[@]}" "libgweather>=$pkgver")
+subgroups=("${subgroups[@]}" 'devel-extra')
+subarchs=("${subarchs[@]}" 'i686 x86_64')
+
+build() {
+    Fbuild --enable-python
+    Fbuild_gnome_scriptlet
+    Fsplit python-gweather $_F_python_libdir
+}
+
# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to