updated on Tue Jan 17 00:10:10 UTC 2012
[aur-mirror.git] / pimd / PKGBUILD
blobf242d951df720cb55d44afd80a1d970b156632fe
1 pkgname=pimd
2 pkgver=2.1.8
3 pkgrel=1
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."
5 arch=('i686' 'x86_64')
6 url="http://freshmeat.net/projects/pimd"
7 license=('BSD')
8 source=("http://cloud.github.com/downloads/troglobit/pimd/pimd-${pkgver}.tar.bz2"
9         "pimd.rc.d")
10 md5sums=('a12448bc7c9bfcebf51a13ebf1ffa962'
11          'ed4b302a18163dbe7760395750f2015b')
13 build() {
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}'
17   make
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"