aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsoup/APKBUILD
blob: f79b7a0341e0ed3fb05b4cc7ec90a6ec5759e630 (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
40
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsoup
pkgver=2.44.1
pkgrel=0
pkgdesc="Gnome HTTP Library"
url="http://www.gnome.org"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends="glib-networking"
depends_dev="glib-dev libxml2-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
	rm "$pkgdir"/usr/lib/*.la
}
md5sums="c8e3b59b16e8fbad430f47adb3bbd3df  libsoup-2.44.1.tar.xz"
sha256sums="c532c331dd5f7eb78438867302ed6897a847c82b287ed9347bea8d1937974c1d  libsoup-2.44.1.tar.xz"
sha512sums="07120996737d86f45acb80b05147e9af0e3e183bec9a97727881b8dc05cb154c679a785f4d5a3a53d0e3611ae0198df977bc9059623c9f1e8e01a03d4c7acb95  libsoup-2.44.1.tar.xz"