diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-12-04 07:33:44 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-12-04 07:33:44 +0000 |
commit | 3ff51d6080e33bb08c705a7faa197a0eac6e3efd (patch) | |
tree | 4068832c7de12fda8b14e1916564682bf82d4a34 /main/multisort/APKBUILD | |
parent | 02c9cf16cb335a73de4a175a8f9a451a4a19a1ed (diff) | |
download | aports-3ff51d6080e33bb08c705a7faa197a0eac6e3efd.tar.bz2 aports-3ff51d6080e33bb08c705a7faa197a0eac6e3efd.tar.xz |
testing/multisort: move to main
Diffstat (limited to 'main/multisort/APKBUILD')
-rw-r--r-- | main/multisort/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/multisort/APKBUILD b/main/multisort/APKBUILD new file mode 100644 index 0000000000..9c2479b8ee --- /dev/null +++ b/main/multisort/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=multisort +pkgver=1.1 +pkgrel=0 +pkgdesc="Tool to merge multiple logfiles" +url="http://www.xach.com/multisort/" +arch="all" +license="GPL-2" +depends= +makedepends="" +install="" +source="http://www.xach.com/$pkgname/$pkgname-$pkgver.tar.gz + multisort-syslog-support.patch" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + install -d "$pkgdir/usr/bin/" + install -s "$_builddir/multisort" "$pkgdir/usr/bin/" +} + +md5sums="c47f7622773022119e1ea21d2b211bd3 multisort-1.1.tar.gz +39bf33a771606904b0f7645006a52056 multisort-syslog-support.patch" |