summaryrefslogtreecommitdiffstats
path: root/main/libconfig/APKBUILD
blob: 2f4dc272ec8a0a6b53b73c25594cc684975e6ae6 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libconfig
pkgver=1.4.6
pkgrel=0
pkgdesc="a simple library for manipulating structured configuration files"
url="http://www.hyperrealm.com/libconfig/"
arch="x86 x86_64"
license='LGPL'
depends=
makedepends=
source="http://www.hyperrealm.com/$pkgname/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-dev"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--disable-cxx
	make || return 1
}

package() {
	cd "$_builddir"
	make -j1 DESTDIR="$pkgdir/" install
}

md5sums="f83d20588941e9b306fbcbb6e9630aac  libconfig-1.4.6.tar.gz"