aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsoup/APKBUILD
blob: b9d892c58c52d729bfdecc04705624bb7224de68 (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
41
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsoup
pkgver=2.60.2
pkgrel=0
pkgdesc="Gnome HTTP Library"
url="http://live.gnome.org/LibSoup"
arch="all"
options="!check"  # Requires a running Apache HTTPd.  not kidding...
license="LGPL-2.0-or-later"
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="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

# secfixes:
#   2.58.2-r0:
#     - CVE-2017-2885

build() {
	cd "$builddir"
	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
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="1323b0db3f6e5da65769f2c6267b66eddb426c89cc82925e97134b27db8f2c2cbb4f42b75c4efc984ae489907881d3e22ed3a777af0ae7f99d476808a90ca285  libsoup-2.60.2.tar.xz"