aboutsummaryrefslogtreecommitdiffstats
path: root/community/libxspf/APKBUILD
blob: 3756b2294c97195e81fd8d6b353053d0d4ebd171 (plain) (blame)
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
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=libxspf
pkgver=1.2.0
pkgrel=0
pkgdesc="Brings XSPF playlist reading and writing support to C++ application"
url="http://libspiff.sourceforge.net"
arch="all"
license="BSD"
makedepends="expat-dev uriparser-dev cpptest-dev"
subpackages="$pkgname-dev"
source="http://downloads.xiph.org/releases/xspf/libxspf-1.2.0.tar.gz
	add-missing-include.patch"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	update_config_guess
}

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

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

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

sha512sums="ff1816e782e8967c5d672acff268be33f21c2add86a057da6cee085ca87e9a985dc1ea07e94f046e95a18afaf55b014d089883cb9db0532f5ec0697ca4e806fb  libxspf-1.2.0.tar.gz
f511bf02791e348492f45901454ec8db6ac2c3f5d1707aff8aa3471853870eed89767564749412e13c0542585057da48c453412bd533418ecc1e2b2a103cc8d6  add-missing-include.patch"