blob: 6e1be9e9ee4a7796948c41b3ae81c7bc833f002f (
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
39
40
41
42
43
44
|
# Contributor: Duane Hughes <duanejevon@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=liblockfile
pkgver=1.09
pkgrel=0
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 \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
|| return 1
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="2aa269e4405ee8235ff17d1b357c6ae8 liblockfile_1.09.orig.tar.gz"
sha256sums="16979eba05396365e1d6af7100431ae9d32f9bc063930d1de66298a0695f1b7f liblockfile_1.09.orig.tar.gz"
sha512sums="8577f8bfa9c78983d6a409bc449be0d981e599a6a5f2fc8b43f76a238810ec5e3c180e27280719398f31041ed837fe8ba61df208ce77db77a354453e4579848a liblockfile_1.09.orig.tar.gz"
|