aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libmrss/APKBUILD
blob: 19933e5d9436a6956a2cda598b47f9aee722aca8 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libmrss
pkgver=0.19.2
pkgrel=0
pkgdesc="mRSS is a C library for parsing, writing and creating RSS files or streams"
url="https://github.com/bakulf/libmrss"
arch="all"
license="LGPL-2.1"
makedepends="automake autoconf libtool m4 curl-dev libnxml-dev doxygen"
subpackages="$pkgname-dev"
source="http://www.autistici.org/bakunin/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	cd "$builddir"
	update_config_guess
}

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR=$pkgdir install
}

sha512sums="0997ced472b767174977b7623484c57bfd0b901a9650cb7f7738ad7393153752ebfc1f717e2eacfb5f7eb319140599128d73de7e095327ee089cd1f85ab42b24  libmrss-0.19.2.tar.gz"