aboutsummaryrefslogtreecommitdiffstats
path: root/community/libsigsegv/APKBUILD
blob: 4492813f7911024f20bc77896c56787da634f6ef (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.13
pkgrel=0
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="9c0cf01ee2a39f77f2e42eb06a2aa60644e10fe2cd39089de58f6206baf7fe7d61fe0ec6bf187276fcfccf61585154ce904fe374b474b7ba9fa050a61a2f3918  libsigsegv-2.13.tar.gz"