APKBUILD 815 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsoup
Natanael Copa's avatar
Natanael Copa committed
3
pkgver=2.28.2
Natanael Copa's avatar
Natanael Copa committed
4 5 6 7 8
pkgrel=0
pkgdesc="Gnome HTTP Library"
url="http://www.gnome.org"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
Natanael Copa's avatar
Natanael Copa committed
9
depends=
Natanael Copa's avatar
Natanael Copa committed
10
makedepends="pkgconfig glib-dev gnutls-dev libxml2-dev libiconv-dev gettext-dev
Natanael Copa's avatar
Natanael Copa committed
11
	libgcrypt-dev libgpg-error-dev"
Natanael Copa's avatar
Natanael Copa committed
12 13 14
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

depends_dev="glib-dev libxml2-dev gnutls-dev"
Natanael Copa's avatar
Natanael Copa committed
15
build() {
Natanael Copa's avatar
Natanael Copa committed
16 17 18 19 20 21 22 23
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--without-gnome \
		|| return 1
	make || return 1
Natanael Copa's avatar
Natanael Copa committed
24 25 26 27
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
Natanael Copa's avatar
Natanael Copa committed
28 29
	make DESTDIR="$pkgdir" install || return 1
}
Natanael Copa's avatar
Natanael Copa committed
30
md5sums="31d7ad416005eed4b78f07ac01b6b9f0  libsoup-2.28.2.tar.bz2"