aboutsummaryrefslogblamecommitdiffstats
path: root/testing/libsigsegv/APKBUILD
blob: b76e283cd9fd694b1740fcc56205ff94f5a7323c (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                     
           
        


                                             
                 
                          
                                                                    

                                                     
 
                                   

         
                      






                                           

                                    

 




                      
           
                                
                                      

 

                                                                                                                                                                                
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=libsigsegv
pkgver=2.11
pkgrel=1
pkgdesc="Page fault detection library"
url="http://www.gnu.org/software/libsigsegv/"
arch="all"
license="GPL-2.0"
subpackages="$pkgname-dev"
source="https://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
}

check() {
	cd "$builddir"
	make check
}

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

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