summaryrefslogtreecommitdiffstats
path: root/unmaintained/liblockfile/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/liblockfile/APKBUILD')
-rw-r--r--unmaintained/liblockfile/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/unmaintained/liblockfile/APKBUILD b/unmaintained/liblockfile/APKBUILD
new file mode 100644
index 000000000..8d89af847
--- /dev/null
+++ b/unmaintained/liblockfile/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Michael Mason <ms13sp@gmail.com>
+pkgname=liblockfile
+pkgver=1.08
+pkgrel=0
+pkgdesc="Implements functions designed to lock the standard mailboxes"
+url="http://www.debian.org"
+license="GPL"
+depends=""
+makedepends=""
+install=
+subpackages="$pkgname-doc"
+source="ftp://ftp.debian.org/debian/pool/main/libl/$pkgname/"$pkgname"_"$pkgver".orig.tar.gz"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+ install -m2755 -D "$srcdir"/"$pkgname-$pkgver"/dotlockfile "$pkgdir"/usr/bin/dotlockfile
+ install -m644 -D "$srcdir"/"$pkgname-$pkgver"/lockfile.h "$pkgdir"/usr/include/lockfile.h
+ install -m644 -D "$srcdir"/"$pkgname-$pkgver"/maillock.h "$pkgdir"/usr/include/maillock.h
+ install -m644 -D "$srcdir"/"$pkgname-$pkgver"/liblockfile.a "$pkgdir"/usr/lib/liblockfile.a
+ install -m644 -D "$srcdir"/"$pkgname-$pkgver"/dotlockfile.1 "$pkgdir"-doc/usr/man/man1/dotlockfile.1
+ install -m644 -D "$srcdir"/"$pkgname-$pkgver"/lockfile_create.3 "$pkgdir"-doc/usr/man/man3/lockfile_create.3
+ install -m644 -D "$srcdir"/"$pkgname-$pkgver"/maillock.3 "$pkgdir"-doc/usr/man/man3/maillock.3
+}
+
+md5sums="c24e2dfb4a2aab0263fe5ac1564d305e liblockfile_1.08.orig.tar.gz"