1 # Maintainer: Alasdair Haswell <ali at arhaswell dot co dot uk>
6 pkgdesc="Feeds random data from another device to the kernel random device"
8 url="http://sourceforge.net/projects/gkernel/"
10 backup=(etc/conf.d/rngd)
11 source=(http://downloads.sourceforge.net/sourceforge/gkernel/$pkgname-$pkgver.tar.gz
14 md5sums=('fa305916ec101c85c0065aeceb81a38d'
15 'bb348fbe778e5ced48e52989aec5c38a'
16 'a87b6a9d24bbc2525d21c855fcc4b02f')
19 cd $srcdir/$pkgname-$pkgver
20 ./configure --prefix=/usr
25 cd $srcdir/$pkgname-$pkgver
26 make DESTDIR=$pkgdir install
27 mkdir -p $pkgdir/etc/{rc.d,conf.d}
28 cp -v $srcdir/rngd $pkgdir/etc/rc.d/
29 cp -v $srcdir/rngd.conf $pkgdir/etc/conf.d/rngd