blob: 9c2479b8ee36d1df76c7408769b348d4e16633a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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"
|