void-packages/srcpkgs/libsoup/template

53 lines
1.4 KiB
Text
Raw Normal View History

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