aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsoup/APKBUILD
blob: fae403d131d257a2e943e02320c1392bbfcb56c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsoup
pkgver=2.51.3
pkgrel=0
pkgdesc="Gnome HTTP Library"
url="ihttp://live.gnome.org/LibSoup"
arch="all"
license="LGPL2+"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends="glib-networking"
depends_dev="gnutls-dev sqlite-dev"
makedepends="$depends_dev libgcrypt-dev libgpg-error-dev zlib-dev
	gobject-introspection-dev intltool"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	DATADIRNAME=share ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-more-warnings \
		--disable-static \
		--disable-tls-check \
		--enable-introspection=yes \
		--localedir=/usr/share/locale \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="0a08e41c112ef52d9e66ccdfa95887c5  libsoup-2.51.3.tar.xz"
sha256sums="ba7ef78e7e93cb08805daa1eb3a116914db7a5caf6a9f386817a7431ba5ef949  libsoup-2.51.3.tar.xz"
sha512sums="1c31db937ca972110ab57e52107edd6def61590678cbaf327f4f57b32be6658386d9064414fb3385ff5e9babaff8fd5717b79a8d79ad939b9a4da52f1921b0cf  libsoup-2.51.3.tar.xz"