aboutsummaryrefslogtreecommitdiffstats
path: root/testing/flickcurl/APKBUILD
blob: 15d6b73282be53fda8230ad126a64d15874a77cc (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
# Contributor: Kevin Daudt <ops@ikke.info>
# Maintainer: Kevin Daudt <ops@ikke.info>
pkgname=flickcurl
pkgver=1.26
pkgrel=0
pkgdesc="C library for the Flickr API"
url="http://librdf.org/flickcurl/"
arch="all"
license="GPL2"
makedepends="curl-dev libxml2-dev raptor2-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="http://download.dajobe.org/flickcurl/flickcurl-$pkgver.tar.gz"
builddir="$srcdir/flickcurl-$pkgver"

prepare() {
	cd "$builddir"
	update_config_guess || return 1
	default_prepare || return 1
}

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

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

md5sums="7013a36656400dac398748a374c9104f  flickcurl-1.26.tar.gz"
sha256sums="ff42a36c7c1c7d368246f6bc9b7d792ed298348e5f0f5d432e49f6803562f5a3  flickcurl-1.26.tar.gz"
sha512sums="5ffdef58e67cbf99da2e8eefad57e845627703d5b22c85d5635557cd2df53e47e74d8e3387523495708c5cc8952c290da5c4d5f1e86bd482312fc7e46e9af6cd  flickcurl-1.26.tar.gz"