aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libsigsegv/APKBUILD
blob: 2bb28204064cd0ba538175102168cf84e889e98e (plain)
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
36
37
38
39
40
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=libsigsegv
pkgver=2.11
pkgrel=0
pkgdesc="Page fault detection library"
url="http://www.gnu.org/software/libsigsegv/"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-dev"
source="http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-$pkgver.tar.gz
	0001-Avoid-use-of-glibc-internal-macros.patch
	"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" \
		-C "$builddir" install
}

sha512sums="6d60bbaa704b86c12a32a6b0eadd30fa7736d0e0ff8a1c45af1b15b7b7d4524f39902fe3f7f47a100bc2586e32aa25bb575e3d859d9ccb5fd7e99ba4e62f7b02  libsigsegv-2.11.tar.gz
991f41be604a31fa70114994181d98667fe50d7feb14c306e20b322bf5966e2b7776f3d0991318d1e9a6b77acb11d291d771681244eb1b31a48b0229885e41af  0001-Avoid-use-of-glibc-internal-macros.patch"