PKGBUILDs/alarm/babeld/PKGBUILD

28 lines
709 B
Bash
Raw Normal View History

2012-08-25 00:44:22 +00:00
# Maintainer: Okhin <okhin@okhin.fr>
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/
}