summaryrefslogtreecommitdiffstats
path: root/main/libconfig/APKBUILD
blob: 13185722c9b3b78033da916fe1c15b80307f5755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libconfig
pkgver=1.3.2
pkgrel=0
pkgdesc="a simple library for manipulating structured configuration files"
url="http://www.hyperrealm.com/libconfig/"
license='LGPL'
depends="uclibc"
makedepends="g++"
source="http://www.hyperrealm.com/$pkgname/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-dev"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--disable-cxx
	make || return 1
	make -j1 DESTDIR="$pkgdir/" install
}

md5sums="094a82afd382aa2305c6cc3c06025c2d  libconfig-1.3.2.tar.gz"