aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsoup/APKBUILD
blob: d40b9b1c5107f644e1522340fd7df04b638a4404 (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.54.0
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 vala libxml2-dev"
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="ace0970c6aa43013c8ae95812519091e  libsoup-2.54.0.tar.xz"
sha256sums="fbf1038efb10d2ffbbb88bb46e7ce32b683fde8e566f36bcf26f7f69a550ec56  libsoup-2.54.0.tar.xz"
sha512sums="86f07b7a61645e3b4b1a2178c646ca84fa37fab01288ec3ce4468f208c10ff6c93dfd7bf6f6490be86467d6cab94409f4325a749f3dd24bb331b5b725219c242  libsoup-2.54.0.tar.xz"