4 pkgdesc="pimd is an implementation of the DVMRP multicast routing protocol. It turns a UNIX workstation into a DVMRP multicast router with tunnel support, in order to cross non-multicast-aware routers."
6 url="http://freshmeat.net/projects/pimd"
8 source=("http://cloud.github.com/downloads/troglobit/pimd/pimd-${pkgver}.tar.bz2"
10 md5sums=('a12448bc7c9bfcebf51a13ebf1ffa962'
11 'ed4b302a18163dbe7760395750f2015b')
14 cd "$srcdir/${pkgname}-${pkgver}/"
15 # Respect user CFLAGS, remove upstream optimisation and -Werror
16 # sed -i Makefile -e '/^CFLAGS/{s|[[:space:]]=| +=|g;s|-O2||g;s|-Werror||g}'
18 make prefix=/usr DESTDIR=$pkgdir install
19 install -d "$pkgdir/etc/rc.d/"
20 install -m755 $srcdir/pimd.rc.d "$pkgdir/etc/rc.d/pimd"