void-packages/srcpkgs/libsoup/template

51 lines
1.4 KiB
Plaintext
Raw Normal View History

# Template file for 'libsoup'
pkgname=libsoup
2013-03-28 11:01:56 +01:00
version=2.42.0
revision=2
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"
makedepends="libglib-devel libxml2-devel sqlite-devel glib-networking"
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"
checksum=9e0e7eb5d3f7401ccf521fbc289fc1fa0923b7c7833729e2ed7696f7b848893e
libsoup-devel_package() {
depends="libglib-devel libxml2-devel libsoup-${version}_${revision}"
short_desc="${short_desc} -- development files"
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}"
short_desc="${short_desc} - GNOME development files"
pkg_install() {
vmove "usr/include/libsoup-gnome*"
vmove "usr/lib/pkgconfig/*gnome*"
vmove "usr/share/gir-1.0/SoupGNOME*"
}
}
libsoup-gnome_package() {
short_desc="${short_desc} - GNOME libraries"
pkg_install() {
vmove "usr/lib/libsoup-gnome*.so*"
vmove "usr/lib/girepository-1.0/SoupGNOME*"
}
}
libsoup_package() {
depends="glib-networking"
pkg_install() {
vmove usr
}
}