From dd7867f9a42eed03cbd813a4a6c1a1af872f4bae Mon Sep 17 00:00:00 2001 From: Shawn Wilson Date: Sat, 25 Aug 2012 01:44:22 +0100 Subject: [PATCH] create pkgbuild for babeld 1.3.4 --- alarm/babeld/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 alarm/babeld/PKGBUILD diff --git a/alarm/babeld/PKGBUILD b/alarm/babeld/PKGBUILD new file mode 100644 index 000000000..cc619d17b --- /dev/null +++ b/alarm/babeld/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Okhin +pkgname=babeld +pkgver=1.3.4 +pkgrel=1 +pkgdesc="a loop-free distance-vector routing protocol, frequency aware" +arch=(arm) +url="http://article.gmane.org/gmane.network.routing.babel.user/610" +license=('custom') +depends=(glibc) +source=(http://www.pps.jussieu.fr/~jch/software/files/$pkgname-$pkgver.tar.gz) +md5sums=('37be1cbcc23cd00ee47efc9157c58795') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -d $pkgdir/usr/share/man/man8/ + install -d $pkgdir/usr/bin/ + install -m 755 babeld $pkgdir/usr/bin/ + install -d $pkgdir/usr/share/licenses/$pkgname/ + install -m 644 LICENCE $pkgdir/usr/share/licenses/$pkgname/ +}