From 21a9865c2eb26e08ce9698241f18a0de760b7283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Mon, 7 Dec 2015 16:09:47 +0100 Subject: testing/libsigsegv: add -dev subpackage --- testing/libsigsegv/APKBUILD | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'testing/libsigsegv') diff --git a/testing/libsigsegv/APKBUILD b/testing/libsigsegv/APKBUILD index 8db07e61d7..3a1d5fbeec 100644 --- a/testing/libsigsegv/APKBUILD +++ b/testing/libsigsegv/APKBUILD @@ -2,27 +2,21 @@ # Maintainer: pkgname=libsigsegv pkgver=2.10 -pkgrel=0 +pkgrel=1 pkgdesc="Page fault detection library" url="http://www.gnu.org/software/libsigsegv/" arch="all" license="GPL2" depends="" depends_dev="" -makedepends="$depends_dev" +makedepends="" install="" -subpackages="" +subpackages="$pkgname-dev" source="http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-$pkgver.tar.gz" _builddir="$srcdir"/libsigsegv-$pkgver prepare() { - local i cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done update_config_sub || return 1 } @@ -41,8 +35,8 @@ build() { } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" \ + -C "$_builddir" install || return 1 } md5sums="7f96fb1f65b3b8cbc1582fb7be774f0f libsigsegv-2.10.tar.gz" -- cgit v1.2.3