aboutsummaryrefslogtreecommitdiffstats
path: root/extra/libsoup/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libsoup/APKBUILD')
-rw-r--r--extra/libsoup/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/libsoup/APKBUILD b/extra/libsoup/APKBUILD
new file mode 100644
index 0000000000..59165b1921
--- /dev/null
+++ b/extra/libsoup/APKBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libsoup
+pkgver=2.26.0
+pkgrel=0
+pkgdesc="Gnome HTTP Library"
+url="http://www.gnome.org"
+license="LGPL"
+subpackages="$pkgname-dev $pkgname-doc"
+depends="glib gnutls libxml2 uclibc libiconv"
+makedepends="glib-dev gnutls-dev libxml2-dev libiconv-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
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="9df9d2b3304213641d3214a774d75ee1 libsoup-2.26.0.tar.bz2"