2009-05-15 03:22:34 +02:00
|
|
|
# Template file for 'libsoup'
|
|
|
|
pkgname=libsoup
|
2013-04-24 23:37:28 +02:00
|
|
|
version=2.42.2
|
2013-04-17 21:12:31 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-09-26 02:29:34 +02:00
|
|
|
configure_args="--disable-static"
|
2013-03-28 11:01:56 +01:00
|
|
|
hostmakedepends="pkg-config intltool gobject-introspection"
|
2013-04-15 20:22:04 +02:00
|
|
|
makedepends="libxml2-devel sqlite-devel glib-networking"
|
2009-05-15 03:22:34 +02:00
|
|
|
short_desc="HTTP library implementation in C"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-29 08:06:53 +02:00
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
license="LGPL-2.1"
|
2013-03-28 11:01:56 +01:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/2.42/$pkgname-$version.tar.xz"
|
2013-04-24 23:37:28 +02:00
|
|
|
checksum=1f4f9cc55ba483dc8defea0c3f97cc507dc48384c5529179e29c1e6d05630dbf
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libsoup-devel_package() {
|
|
|
|
depends="libglib-devel libxml2-devel libsoup-${version}_${revision}"
|
2013-04-24 23:37:28 +02:00
|
|
|
short_desc="HTTP library implementation in C -- development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/pkgconfig/libsoup-2.4.pc
|
|
|
|
vmove usr/share/gir-1.0/Soup-2.4.gir
|
|
|
|
vmove usr/include/libsoup-2.4
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libsoup-gnome-devel_package() {
|
|
|
|
depends="libsoup-devel-${version}_${revision} libsoup-gnome-${version}_${revision}"
|
2013-04-24 23:37:28 +02:00
|
|
|
short_desc="HTTP library implementation in C - GNOME development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/include/libsoup-gnome*"
|
|
|
|
vmove "usr/lib/pkgconfig/*gnome*"
|
|
|
|
vmove "usr/share/gir-1.0/SoupGNOME*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libsoup-gnome_package() {
|
2013-04-24 23:37:28 +02:00
|
|
|
short_desc="HTTP library implementation in C - GNOME libraries"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libsoup-gnome*.so*"
|
|
|
|
vmove "usr/lib/girepository-1.0/SoupGNOME*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libsoup_package() {
|
2013-04-14 18:52:28 +02:00
|
|
|
depends="glib-networking"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
2013-04-24 23:37:28 +02:00
|
|
|
vmove all
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|