summaryrefslogtreecommitdiffstats
path: root/main/libconfig/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libconfig/APKBUILD')
-rw-r--r--main/libconfig/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/main/libconfig/APKBUILD b/main/libconfig/APKBUILD
index 13185722c..cd2d6e001 100644
--- a/main/libconfig/APKBUILD
+++ b/main/libconfig/APKBUILD
@@ -1,23 +1,27 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libconfig
-pkgver=1.3.2
+pkgver=1.4.1
pkgrel=0
pkgdesc="a simple library for manipulating structured configuration files"
url="http://www.hyperrealm.com/libconfig/"
license='LGPL'
-depends="uclibc"
-makedepends="g++"
+depends=
+makedepends=
source="http://www.hyperrealm.com/$pkgname/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-dev"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir/$pkgname-$pkgver"
-
+ cd "$_builddir"
./configure --prefix=/usr \
--mandir=/usr/share/man \
--disable-cxx
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make -j1 DESTDIR="$pkgdir/" install
}
-md5sums="094a82afd382aa2305c6cc3c06025c2d libconfig-1.3.2.tar.gz"
+md5sums="7b2885272802b3ace56d3c8b445a4588 libconfig-1.4.1.tar.gz"