diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2011-03-25 18:19:56 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2011-03-25 18:19:56 +0000 |
commit | c73a4e1a4d50a9ff1fb4fe3808ffa45e11dbdda6 (patch) | |
tree | 757a9482f91b80bc2551f1d794a052b8f901569e /main/liblockfile | |
parent | 372b345f3b0740be075c4fa41c4bf31540132521 (diff) | |
parent | 2d2e02b94b10ee5b4c2afeb69667015f1fc9015f (diff) | |
download | aports-c73a4e1a4d50a9ff1fb4fe3808ffa45e11dbdda6.tar.bz2 aports-c73a4e1a4d50a9ff1fb4fe3808ffa45e11dbdda6.tar.xz |
Merge git://dev.alpinelinux.org/aports
Diffstat (limited to 'main/liblockfile')
-rw-r--r-- | main/liblockfile/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/main/liblockfile/APKBUILD b/main/liblockfile/APKBUILD new file mode 100644 index 0000000000..6f471cb11d --- /dev/null +++ b/main/liblockfile/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Duane Hughes <duanejevon@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=liblockfile +pkgver=1.08 +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 --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" |