diff options
Diffstat (limited to 'testing/multisort/APKBUILD')
-rw-r--r-- | testing/multisort/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/multisort/APKBUILD b/testing/multisort/APKBUILD new file mode 100644 index 0000000000..148d37bf65 --- /dev/null +++ b/testing/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" |