aboutsummaryrefslogtreecommitdiffstats
path: root/community/libsigsegv/APKBUILD
blob: c83ea99513b361b5ca8076cd1f7dff5da75a40d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=libsigsegv
pkgver=2.12
pkgrel=2
pkgdesc="Page fault detection library"
url="https://www.gnu.org/software/libsigsegv/"
arch="all"
license="GPL-2.0-or-later"
subpackages="$pkgname-dev"
source="https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static \
		--enable-shared
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="27986e8aaf4357ed131032aa7c281a5a28c5759530c62bb76f034aea33959547dcaae805e06347a1f532f0488b72fbbbdac4400f74e8d3f2128511526e8a5913  libsigsegv-2.12.tar.gz"