aboutsummaryrefslogblamecommitdiffstats
path: root/main/liblockfile/APKBUILD
blob: d5ab481357cd0ba6ebc3b6ab3a525768e94d894b (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                   
           
        



                                                        
                                                  

                                                                                               
                           

         
                      



                                 

                                 


           

                                          

 
                                                                                                                                                                           
# Contributor: Duane Hughes <duanejevon@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=liblockfile
pkgver=1.14
pkgrel=0
pkgdesc="Shared library with NFS-safe locking functions"
url="http://packages.debian.org/sid/liblockfile1"
arch="all"
license="GPL"
options="!check" # upstream does not provide tests
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.debian.org/debian/pool/main/libl/liblockfile/${pkgname}_$pkgver.orig.tar.gz"
builddir="$srcdir/$pkgname"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make -j1
}

package() {
	cd "$builddir"
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="d6d75a1ddb55bae8ee63bd0cbacf7ab8cd6d28b29a7d3c2e4a5c31c76c6743ed517cdebd42e3ef5c44698faebfd1537b023510c692b54a1275e7114605fe6550  liblockfile_1.14.orig.tar.gz"