From 61b1ba9bdb81e47e1398ac3e8d96c47d29f5be73 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Thu, 17 Nov 2016 15:35:37 +0100 Subject: testing/pugixml: add dev subpkg and fix cmake --- testing/pugixml/APKBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/pugixml/APKBUILD b/testing/pugixml/APKBUILD index 15dfc8dff9..2721adaa56 100644 --- a/testing/pugixml/APKBUILD +++ b/testing/pugixml/APKBUILD @@ -8,12 +8,17 @@ url="http://pugixml.org" arch="all" license="MIT" makedepends="cmake" +subpackages="$pkgname-dev" source="http://github.com/zeux/pugixml/releases/download/v1.7/pugixml-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" - cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=YesPlease scripts/ || exit 1 + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=Release \ + scripts/ || return 1 make } -- cgit v1.2.3