aboutsummaryrefslogtreecommitdiffstats
path: root/main/liblockfile/APKBUILD
blob: 16d5d1b78ba9d932b20065e8b19d2d66bd22f244 (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
# Contributor: Duane Hughes <duanejevon@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=liblockfile
pkgver=1.08
pkgrel=1
pkgdesc="Shared library with NFS-safe locking functions"
url="http://packages.debian.org/sid/liblockfile1"
arch="all"
license="GPL"
depends=""
makedepends=
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.debian.org/debian/pool/main/libl/liblockfile/${pkgname}_$pkgver.orig.tar.gz"

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


build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man
	make -j1 || return 1
}

package() {
	cd "$_builddir"

	install -d "$pkgdir"/usr/include
	install -d "$pkgdir"/usr/bin
	install -d "$pkgdir"/usr/lib
	install -d "$pkgdir"/usr/share/man

	make -j1 ROOT="$pkgdir" install
}

md5sums="c24e2dfb4a2aab0263fe5ac1564d305e  liblockfile_1.08.orig.tar.gz"