blob: af1dc689b09b38ddd7372a206584c63d4fbabcf1 (
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.64.1
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 libpsl-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="13d16457a443294020621df34205c570d25a6ff048ab68633cc504d70a8a1281a38dddb54110fd35a059bd69aebc3fd49b5ab0fc42abf4f4a19746a25050119d libsoup-2.64.1.tar.xz"
|