aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-03-25 13:11:47 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-03-25 13:12:08 -0500
commit2d2e02b94b10ee5b4c2afeb69667015f1fc9015f (patch)
tree1b89e8ef729b18a9b4379460845839459fd0696c /testing
parent28dc737725b953238a478a43f4803fe83cf23253 (diff)
downloadaports-2d2e02b94b10ee5b4c2afeb69667015f1fc9015f.tar.bz2
aports-2d2e02b94b10ee5b4c2afeb69667015f1fc9015f.tar.xz
testing/jsoncpp: install jsoncpp compat headers
Diffstat (limited to 'testing')
-rw-r--r--testing/jsoncpp/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/jsoncpp/APKBUILD b/testing/jsoncpp/APKBUILD
index 52e4c590f4..5d42b6b0a7 100644
--- a/testing/jsoncpp/APKBUILD
+++ b/testing/jsoncpp/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=jsoncpp
pkgver=0.5.0
-pkgrel=0
+pkgrel=1
pkgdesc="JSON C++ library"
url="http://jsoncpp.sourceforge.net/"
arch="all"
@@ -37,7 +37,8 @@ package() {
cp "$_builddir"/libs/*/libjson*.so "$pkgdir"/usr/lib/libjson.so
mkdir -p "$pkgdir"/usr/include
- cp -r "$_builddir"/include/* "$pkgdir"/usr/include/
+ cp -r "$_builddir"/include/json "$pkgdir"/usr/include/
+ ln -sf /usr/include/json "$pkgdir"/usr/include/jsoncpp
}
md5sums="24482b67c1cb17aac1ed1814288a3a8f jsoncpp-src-0.5.0.tar.gz"