void-packages/srcpkgs/libsoup/template
2013-04-17 21:12:31 +02:00

50 lines
1.4 KiB
Text

# Template file for 'libsoup'
pkgname=libsoup
version=2.42.1
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="libxml2-devel sqlite-devel glib-networking"
short_desc="HTTP library implementation in C"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/2.42/$pkgname-$version.tar.xz"
checksum=20bd5365bb3e7de70fade91ac82c9dea31636318df90b8c26bc4cde2523a8c91
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
}
}