summaryrefslogblamecommitdiff
path: root/user/libsigsegv/APKBUILD
blob: bb21149a3d62b2781886d8dfc2ef7a13ddde8ce9 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                         
                  



                                                                 

















                                      


                                                                                                                                                                     
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Contributor: Lee Starnes <lee@canned-death.us>
# Maintainer: Lee Starnes <lee@canned-death.us>
pkgname=libsigsegv
pkgver=2.12
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"

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

check() {
	make check
}

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

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