summaryrefslogtreecommitdiffstats
path: root/unmaintained/liblockfile/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-06-12 12:26:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-06-12 12:27:59 +0000
commitdca0ad5e0ff29400f0752010544dcf758b4bba4f (patch)
tree0a3ee62e38abeeaa12885253fec2e34d8c760563 /unmaintained/liblockfile/APKBUILD
parent440b268ffe8bdc281286fea2d618820c08630f45 (diff)
downloadaports-dca0ad5e0ff29400f0752010544dcf758b4bba4f.tar.bz2
aports-dca0ad5e0ff29400f0752010544dcf758b4bba4f.tar.xz
rename unstable to unmaintained
stuff thats unmaintained could go here
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"