Merge pull request #245 from ag4ve/master

add pkgbuild for babeld
This commit is contained in:
xenoxaos 2012-08-24 19:28:05 -07:00
commit 56d1bb1729

27
alarm/babeld/PKGBUILD Normal file
View file

@ -0,0 +1,27 @@
# 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/
}