summaryrefslogtreecommitdiffstats
path: root/unstable/mailx-support/APKBUILD
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2009-10-09 19:17:34 +0000
committerMichael Mason <ms13sp@gmail.com>2009-10-09 19:17:34 +0000
commitd80b2bb3a02fd4769adb84c455af7cd52c56d33f (patch)
treeb0f685d5e55f8d24b2a31957848dbe56e9fcbbc8 /unstable/mailx-support/APKBUILD
parent27372931726698f78e450f05ac096c3717a4b2bf (diff)
downloadaports-d80b2bb3a02fd4769adb84c455af7cd52c56d33f.tar.bz2
aports-d80b2bb3a02fd4769adb84c455af7cd52c56d33f.tar.xz
unstable/mailx-support Initial Commit
Diffstat (limited to 'unstable/mailx-support/APKBUILD')
-rw-r--r--unstable/mailx-support/APKBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/unstable/mailx-support/APKBUILD b/unstable/mailx-support/APKBUILD
index 2a8fe7317..503f20306 100644
--- a/unstable/mailx-support/APKBUILD
+++ b/unstable/mailx-support/APKBUILD
@@ -5,20 +5,25 @@ pkgver=20060102
pkgrel=0
pkgdesc="Provides lockspool utility"
url="http://www.openbsd.org"
-license="GPL"
+license="BSD"
depends=""
makedepends=""
install=
subpackages="$pkgname-doc"
-source="http://gentoo.osuosl.org/distfiles/$pkgname-$pkgver.tar.bz2"
+source="http://gentoo.osuosl.org/distfiles/$pkgname-$pkgver.tar.bz2
+ mailx-support-ldflags.patch"
build() {
cd "$srcdir"/$pkgname-$pkgver
-#need to add a DESTDIR in make file
+ for i in ../*.patch; do
+ msg "Appling $i..."
+ patch -p1 < $i || return 1
+ done
make || return 1
- make DESTDIR="$pkgdir" install
-
+ install -m755 -D "$srcdir"/"$pkgname-$pkgver"/lockspool "$pkgdir"/usr/libexec/lockspool
+ install -m644 -D "$srcdir"/"$pkgname-$pkgver"/lockspool.1 "$pkgdir"-doc/usr/share/man/man1/lockspool.1
}
-md5sums="3f671fe4368a5b536e8384980a9a5c80 mailx-support-20060102.tar.bz2"
+md5sums="3f671fe4368a5b536e8384980a9a5c80 mailx-support-20060102.tar.bz2
+32a98aee973db8860f1f53a9297b8dd9 mailx-support-ldflags.patch"