Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 3rd, 2011  |  syntax: Bash  |  size: 0.80 KB  |  views: 169  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Jeffrey Grembecki jeff _a*t mcmedia _d.ot c~om d-ot _au
  2.  
  3. pkgname=frandom
  4. pkgver=1.1
  5. pkgrel=1
  6. pkgdesc="A very fast random number generator kernel module."
  7. arch=(i686 x86_64)
  8. url="http://frandom.sourceforge.net/"
  9. license="GPL"
  10. depends=('linux' 'linux-headers')
  11. install=frandom.install
  12. source=(http://sourceforge.net/projects/frandom/files/frandom-1.1.tar.gz
  13.   frandom.rc)
  14. md5sums=('aade48078496da7439eda41937a34e61'
  15.          '4ea0a53e400d51f5651b2747db92ffbc')
  16.  
  17. build() {
  18.   cd $startdir/src/$pkgname-$pkgver
  19.   make || return 1
  20.   install -m 644 -D $pkgname.ko $startdir/pkg/lib/modules/$(uname -r)/kernel/drivers/char/$pkgname.ko
  21.   install -m 755 -D ../frandom.rc $startdir/pkg/etc/rc.d/$pkgname
  22.   install -m 644 -D 10-$pkgname.rules $startdir/pkg/etc/udev/rules.d/10-$pkgname.rules
  23.  
  24. }
clone this paste RAW Paste Data