updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / rng-tools / PKGBUILD
bloba849706bebf6569046b97eb3f88b66dc6913cac1
1 # Maintainer: Alasdair Haswell <ali at arhaswell dot co dot uk>
3 pkgname=rng-tools
4 pkgver=3
5 pkgrel=2
6 pkgdesc="Feeds random data from another device to the kernel random device"
7 arch=('i686' 'x86_64')
8 url="http://sourceforge.net/projects/gkernel/"
9 license=('GPL')
10 backup=(etc/conf.d/rngd)
11 source=(http://downloads.sourceforge.net/sourceforge/gkernel/$pkgname-$pkgver.tar.gz
12         rngd
13         rngd.conf)
14 md5sums=('fa305916ec101c85c0065aeceb81a38d'
15         'bb348fbe778e5ced48e52989aec5c38a'
16         'a87b6a9d24bbc2525d21c855fcc4b02f')
18 build() {
19   cd $srcdir/$pkgname-$pkgver
20   ./configure --prefix=/usr
21   make
24 package() {
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