aboutsummaryrefslogtreecommitdiffstats
path: root/main/iniparser
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-06-12 13:47:44 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-06-12 13:57:24 +0000
commitde781269fd6d6fd396ae4d6ba7052cf52cb1b118 (patch)
tree280363a5c9048858f3619a7a2c8a649b30888743 /main/iniparser
parente6121d67abd7c5b56e8e5ade5f1a18590615c301 (diff)
downloadaports-de781269fd6d6fd396ae4d6ba7052cf52cb1b118.tar.bz2
aports-de781269fd6d6fd396ae4d6ba7052cf52cb1b118.tar.xz
main/iniparser: upgrade to 4.0
Diffstat (limited to 'main/iniparser')
-rw-r--r--main/iniparser/APKBUILD18
-rw-r--r--main/iniparser/rpath.patch13
2 files changed, 14 insertions, 17 deletions
diff --git a/main/iniparser/APKBUILD b/main/iniparser/APKBUILD
index b5bab989f7..21d54ea23d 100644
--- a/main/iniparser/APKBUILD
+++ b/main/iniparser/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iniparser
-pkgver=3.1
+pkgver=4.0
pkgrel=0
pkgdesc="C library for parsing "INI-style" files"
url="http://ndevilla.free.fr/iniparser/"
@@ -11,10 +11,10 @@ depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
-source="http://ndevilla.free.fr/iniparser/iniparser-$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/ndevilla/iniparser/archive/v$pkgver.tar.gz
rpath.patch"
-_builddir="$srcdir"/iniparser
+_builddir="$srcdir"/iniparser-$pkgver
prepare() {
local i
cd "$_builddir"
@@ -44,9 +44,9 @@ package() {
|| return 1
}
-md5sums="0aa4f995468ed390caf323f50a285bc3 iniparser-3.1.tar.gz
-67f622f6a1e5d4631c5c7db6c1f19fcb rpath.patch"
-sha256sums="aedf23881b834519aea5e861b2400606d211da049cd59d3cfb4568e0d9eff5c5 iniparser-3.1.tar.gz
-8704113db821b23426861a33792003a846fbc5b27d23ad204bedcbeb7635a984 rpath.patch"
-sha512sums="8fd8324c5629fdc3e3eff00afb5f0832402ccc760c5b92db82aa29b340ec891419ca2c4fee3a4d4d67cf9bc51c76b095bc0c458e087c2b8e72ac36867c47ae86 iniparser-3.1.tar.gz
-611f8c4a2499d97b9cf86914df09e15bb619fdaedb44195106afbc6376dcf08528ed28102727215ea2191540f6523f689050fc40b71e0b0dc2fdb5e9040ed663 rpath.patch"
+md5sums="94c7278f8d22de1a31320219b27634b0 iniparser-4.0.tar.gz
+41616be03aa5bfc59c9420792aa91a92 rpath.patch"
+sha256sums="e0bbd664bb3f0d64c21ac2d67a843b1c7a3a9710e96393344d170ab8b33e92ba iniparser-4.0.tar.gz
+8f8c3888bff71dc05b6937f432c298db2be75938b5ccea2388f00343e0820f53 rpath.patch"
+sha512sums="86080d4e4cb85e252f9c75116d9a548a2f08f2131e269834a0d16597da4e4c5790dff8304be082f2a8dcc75d17585e9a8fad3f0f4766bff8914f6ef2b0d6fa05 iniparser-4.0.tar.gz
+bf517a9d311b887eb59cd2e296601cbd1e217965cd67cdcf90dc0604bef40365978f062c8252abb21a7eb6b8ae11c0a175317fee33af01c332f5390ae0115bd5 rpath.patch"
diff --git a/main/iniparser/rpath.patch b/main/iniparser/rpath.patch
index 2f6e25c6d1..eafa5d450a 100644
--- a/main/iniparser/rpath.patch
+++ b/main/iniparser/rpath.patch
@@ -1,13 +1,10 @@
---- ./Makefile.orig 2013-10-31 10:10:47.200997664 +0000
-+++ ./Makefile 2013-10-31 10:13:18.609360807 +0000
-@@ -11,8 +11,8 @@
- ARFLAGS = rcv
+--- ./Makefile.orig
++++ ./Makefile
+@@ -18,7 +18,6 @@
SHLD = ${CC} ${CFLAGS}
--LDSHFLAGS = -shared -Wl,-Bsymbolic -Wl,-rpath -Wl,/usr/lib -Wl,-rpath,/usr/lib
--LDFLAGS = -Wl,-rpath -Wl,/usr/lib -Wl,-rpath,/usr/lib
-+LDSHFLAGS = -shared -Wl,-Bsymbolic
-+LDFLAGS =
+ LDSHFLAGS = -shared -Wl,-Bsymbolic
+-LDFLAGS += -Wl,-rpath -Wl,/usr/lib -Wl,-rpath,/usr/lib
# Set RANLIB to ranlib on systems that require it (Sun OS < 4, Mac OSX)
# RANLIB = ranlib