summaryrefslogtreecommitdiff
path: root/social/olsrd/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-07 11:25:20 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-07 11:25:20 -0300
commitea72eac0bc0d1abf4f6008383a8cf96bff0476da (patch)
treec6d9bfd076e21295939291fbf187f33d49de5538 /social/olsrd/PKGBUILD
parent6ba17fd7084afd34f49d65a2d214a0c9617b4cd4 (diff)
parent93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/avidemux/PKGBUILD extra/kdesdk/PKGBUILD extra/swh-plugins/PKGBUILD kde-unstable/kdesdk/PKGBUILD multilib/nspluginwrapper/PKGBUILD
Diffstat (limited to 'social/olsrd/PKGBUILD')
-rw-r--r--social/olsrd/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/social/olsrd/PKGBUILD b/social/olsrd/PKGBUILD
new file mode 100644
index 000000000..dea029844
--- /dev/null
+++ b/social/olsrd/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: William Rea <sillywilly@gmail.com>
+# Maintainer: Claudio Pisa <clauz@ninux.org>
+pkgname=olsrd
+pkgver="0.6.1"
+pkgrel=1
+pkgdesc="OLSR routing daemon (RFC 3626)"
+arch=(i686 x86_64 ppc)
+url="http://www.olsr.org"
+license=('BSD')
+depends=('glibc')
+makedepends=('bison')
+backup=(etc/olsrd.conf)
+install=(olsrd.install)
+source=(http://www.olsr.org/releases/0.6/${pkgname}-${pkgver}.tar.bz2 rc.d.olsrd)
+md5sums=('a75fc9b6252df5b5f49f13418fafeff1' 'bc3e393e0179ffff0a6d6c9d6a5c4b60')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make OS=linux build_all
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install_all
+
+ install -D -m755 $srcdir/rc.d.olsrd $pkgdir/etc/rc.d/olsrd
+ install -D -m644 license.txt $pkgdir/usr/share/licenses/olsrd/LICENSE
+}
+