aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsoup/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libsoup/APKBUILD')
-rw-r--r--main/libsoup/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/main/libsoup/APKBUILD b/main/libsoup/APKBUILD
new file mode 100644
index 0000000000..af9462e6b7
--- /dev/null
+++ b/main/libsoup/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libsoup
+pkgver=2.28.2
+pkgrel=0
+pkgdesc="Gnome HTTP Library"
+url="http://www.gnome.org"
+license="LGPL"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=
+makedepends="pkgconfig glib-dev gnutls-dev libxml2-dev libiconv-dev gettext-dev
+ libgcrypt-dev libgpg-error-dev"
+source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
+
+depends_dev="glib-dev libxml2-dev gnutls-dev"
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --without-gnome \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="31d7ad416005eed4b78f07ac01b6b9f0 libsoup-2.28.2.tar.bz2"