Added libgweather-2.30.0 build template.

--HG--
extra : convert_revision : 1e3c50942db7658007c61e36444c83f433e4cf20
This commit is contained in:
Juan RP 2010-04-12 21:02:56 +02:00
parent 517c5a3900
commit 27d65faa81
5 changed files with 81 additions and 0 deletions

1
srcpkgs/libgweather-devel Symbolic link
View File

@ -0,0 +1 @@
libgweather

View File

@ -0,0 +1,2 @@
abi_depends=">=2.30.0"
api_depends="${abi_depends}"

View File

@ -0,0 +1,15 @@
# Template file for 'libgweather-devel'.
#
short_desc="${sourcepkg} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install()
{
mkdir -p ${DESTDIR}/usr/{lib,share}
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.{a,so} ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
}

View File

@ -0,0 +1,16 @@
# Template file for 'libgweather-python'.
#
short_desc="${sourcepkg} - python bindings"
long_desc="${long_desc}
This package contains the python bindings."
Add_dependency run glibc
Add_dependency run python
Add_dependency run libgweather
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib
}

View File

@ -0,0 +1,47 @@
# Template file for 'libgweather'
pkgname=libgweather
version=2.30.0
distfiles="${GNOME_SITE}/$pkgname/2.30/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-schemas-install --localstatedir=/var
--with-gconf-schema-file-dir=/usr/share/gconf/schemas
--enable-locations-compression --enable-python
--with-zoneinfo-dir=/usr/share/zoneinfo"
short_desc="Weather information access library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=25cd8976f98b79f7c336551bea7179a5b29027e95d3ba6a046c638422d440548
long_desc="
libgweather is a library to access weather information from online
services for numerous locations."
gconf_schemas="gweather.schemas"
gtk_iconcache_dirs="/usr/share/icons/gnome"
subpackages="$pkgname-devel $pkgname-python"
Add_dependency run glibc
Add_dependency run glib
Add_dependency run atk
Add_dependency run pango
Add_dependency run cairo
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run gtk+
Add_dependency run libxml2
Add_dependency run GConf
Add_dependency run libsoup
Add_dependency run libsoup-gnome
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build python-devel
Add_dependency build glib-devel
Add_dependency build atk-devel
Add_dependency build pango-devel
Add_dependency build cairo-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency build gtk+-devel
Add_dependency build libxml2-devel
Add_dependency build GConf-devel
Add_dependency build libsoup-devel
Add_dependency build libsoup-gnome-devel
Add_dependency full gnome-icon-theme