summaryrefslogtreecommitdiff
path: root/user/libsigsegv/APKBUILD
blob: 8be6728b1a9d2ecbdae8747211d8bfe3e186516c (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
36
37
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Lee Starnes <lee@canned-death.us>
pkgname=libsigsegv
pkgver=2.14
pkgrel=0
pkgdesc="A library for handling page faults in user mode"
url="https://www.gnu.org/software/libsigsegv"
arch="all"
license="GPL-2.0+"
depends=""
makedepends=""
subpackages="$pkgname-dev"
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
	musl-ppc32.patch
	"

build() {
	./configure \
		--prefix=/usr \
		--build=$CBUILD \
		--host=$CHOST \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--enable-shared
	make
}

check() {
	make check
}

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

sha512sums="423dade56636fe38356f0976e1288178cb1c7c059615e9f70ad693a1e4194feba47a583b0804717e95a866da271b1ea5f80083c54a121577983dd23e5aa9f056  libsigsegv-2.14.tar.gz
fba3bf8679619d9e363bf42e476960dd73cc9a01915773193d6b6d2ca76ee5240a9284982d00bc40601c6da3210c08eb90e61661404ccaf017144ccc36b25762  musl-ppc32.patch"