1 # Maintainer: Tom Wambold <tom5760@gmail.com>
5 pkgdesc="Extendable Mobile Ad-hoc Network Emulator"
7 url="http://labs.cengen.com/emane/"
10 depends=(openssl ace perl-xml-simple perl-xml-libxml libpcap)
11 source=(http://labs.cengen.com/emane/download/source/$pkgver/$pkgname-$pkgver.tgz
12 emane-ace-headers.patch
13 emane.conf emane.install
14 emane emaneeventd emaneeventservice emanetransportd)
15 md5sums=('9bee1c91962a86fe3ce99b361d3a8019'
16 '3aa2d84bdf5aec6bd1c65bf8cdf36429'
17 '28e57be40c37e02a80ad0890b9389098'
18 '575802412ba681d0ece003e66361a14c'
19 '4e7948c9bd456b7e4c6bfe77bb644589'
20 '0b8dc3ebf8fd3f8f61dc35c90a6f52fd'
21 '6ccf17782958c6f4997e1150f57960f6'
22 'a0b03a4170bb316defc53fd8eb91a471')
25 cd "$srcdir/$pkgname-$pkgver"
26 patch -p1 < ../emane-ace-headers.patch
28 ./configure --prefix=/usr
34 cd "$srcdir/$pkgname-$pkgver"
35 make DESTDIR="$pkgdir/" install
38 sed -i "s:-L$srcdir/emane-0.6.4/libs/emanelogservice/.libs::g" $pkgdir/usr/lib/libemanexmlparser.la
40 install -d $pkgdir/etc/emane
41 install -D $srcdir/emane.conf $pkgdir/etc/conf.d/emane.conf
42 install -D $srcdir/emane $pkgdir/etc/rc.d/emane
43 install -D $srcdir/emaneeventd $pkgdir/etc/rc.d/emaneeventd
44 install -D $srcdir/emaneeventservice $pkgdir/etc/rc.d/emaneeventservice
45 install -D $srcdir/emanetransportd $pkgdir/etc/rc.d/emanetransportd
48 # vim:set ts=2 sw=2 et: