1 # Contributor: William Rea <sillywilly@gmail.com>
2 # Maintainer: Claudio Pisa <clauz@ninux.org>
6 pkgdesc="OLSR routing daemon (RFC 3626)"
8 url="http://www.olsr.org"
12 backup=(etc/olsrd.conf)
13 install=(olsrd.install)
14 source=(http://www.olsr.org/releases/0.6/${pkgname}-${pkgver}.tar.bz2 rc.d.olsrd)
15 md5sums=('1f55bbbaf0737364b53daaeecc2cd50c' 'bc3e393e0179ffff0a6d6c9d6a5c4b60')
18 cd `ls -Fd $startdir/src/olsrd* | grep /$`
19 make OS=linux build_all || return 1
20 make DESTDIR=$startdir/pkg install_all || return 1
21 mkdir -p $startdir/pkg/etc/rc.d
22 cp $startdir/rc.d.olsrd $startdir/pkg/etc/rc.d/olsrd
23 chmod 755 $startdir/pkg/etc/rc.d/olsrd
24 mkdir -p $startdir/pkg/usr/share/licenses/olsrd
25 cp license.txt $startdir/pkg/usr/share/licenses/olsrd/