aboutsummaryrefslogtreecommitdiffstats
path: root/main/libconfig
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-02 19:09:29 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-11-03 10:53:23 +0000
commitcefbd9de8c5ad6bb95aecbf3b5387c5bccb246ed (patch)
treef67906cfe786fc9d4b546b40e2040b6591035f89 /main/libconfig
parent10b458891b729fee807ff3860398019a1b18c5af (diff)
downloadaports-cefbd9de8c5ad6bb95aecbf3b5387c5bccb246ed.tar.bz2
aports-cefbd9de8c5ad6bb95aecbf3b5387c5bccb246ed.tar.xz
main/libconfig: fix source url
libconfig source was moved to github. Also run autoreconf before building otherwise it fails with error: config.status: error: cannot find input file: `Makefile.in'
Diffstat (limited to 'main/libconfig')
-rw-r--r--main/libconfig/APKBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/main/libconfig/APKBUILD b/main/libconfig/APKBUILD
index ab09576cda..795f8d0002 100644
--- a/main/libconfig/APKBUILD
+++ b/main/libconfig/APKBUILD
@@ -1,19 +1,20 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libconfig
pkgver=1.5
-pkgrel=1
+pkgrel=2
pkgdesc="a simple library for manipulating structured configuration files"
url="http://www.hyperrealm.com/libconfig/"
arch="all"
license='LGPL'
depends=
-makedepends=
-source="http://www.hyperrealm.com/$pkgname/$pkgname-$pkgver.tar.gz"
+makedepends="autoconf automake libtool"
+source="$pkgname-$pkgver.tar.gz::https://github.com/hyperrealm/$pkgname/archive/v$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-dev $pkgname++:_cxx"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ autoreconf -vif
}
build() {
@@ -38,6 +39,4 @@ _cxx() {
mv "$pkgdir"/usr/lib/libconfig++.so.* "$subpkgdir"/usr/lib/
}
-md5sums="a939c4990d74e6fc1ee62be05716f633 libconfig-1.5.tar.gz"
-sha256sums="e31daa390d8e4461c8830512fe2e13ba1a3d6a02a2305a02429eec61e68703f6 libconfig-1.5.tar.gz"
-sha512sums="16bead52ee8c880b25fd1ee6fa83c115dc51830f2f7954389bd8b72cc0e6fc05fc63fe415bd929851894a9f3a1127d51cfc4223149514246e9566305556b7bcd libconfig-1.5.tar.gz"
+sha512sums="f3a0a969d56604c473b004fd15e541569a6b7639a23db896e391d6280060c278f0adbae1da92bc2a9a55431e74a9312d7581cc47dc27d043a9ac3b045ae2a8a0 libconfig-1.5.tar.gz"