47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
# Template file for 'libsoup'
|
|
pkgname=libsoup
|
|
version=2.44.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config intltool gobject-introspection"
|
|
makedepends="libxml2-devel sqlite-devel glib-networking"
|
|
depends="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/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=e7e4b5ab74a6c00fc267c9f5963852d28759ad3154dab6388e2d6e1962d598f3
|
|
|
|
libsoup-devel_package() {
|
|
depends="libglib-devel libxml2-devel libsoup>=${version}_${revision}"
|
|
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
|
|
vmove "usr/lib/libsoup-2.4.so"
|
|
}
|
|
}
|
|
|
|
libsoup-gnome-devel_package() {
|
|
depends="libsoup-devel>=${version}_${revision} libsoup-gnome>=${version}_${revision}"
|
|
short_desc+=" - GNOME development files"
|
|
pkg_install() {
|
|
vmove "usr/include/libsoup-gnome*"
|
|
vmove "usr/lib/pkgconfig/*gnome*"
|
|
vmove "usr/share/gir-1.0/SoupGNOME*"
|
|
vmove "usr/lib/libsoup-gnome*.so"
|
|
}
|
|
}
|
|
|
|
libsoup-gnome_package() {
|
|
short_desc+=" - GNOME libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/libsoup-gnome*.so.*"
|
|
vmove "usr/lib/girepository-1.0/SoupGNOME*"
|
|
}
|
|
}
|