This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Crash Makefile (with makedepends)

By: a guest on Jan 29th, 2011  |  syntax: Bash  |  size: 0.77 KB  |  views: 59  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Aurelien Cedeyn <aurelien.cedeyn@gmail.com>
  2.  
  3. pkgname=crash
  4. pkgver=5.1.1
  5. pkgrel=1
  6. pkgdesc="Crash: Kernel debugging tool"
  7. arch=('i686')
  8. url="http://people.redhat.com/~anderson/"
  9. license=('GPL')
  10. makedepends=('flex' 'bison' 'zlib' 'ncurses')
  11. source=(http://people.redhat.com/~anderson/crash-$pkgver.tar.gz Makefile)
  12. md5sums=(db0719d0392ee30de3ca97b9e0bb1a5e 0cba37bcadf1d84b9e3942a87499968f)
  13.  
  14. # We need a custom Makefile because of the hardcoded /usr/bin/install path
  15. # on redhat like distros. Now it's replaced by `which install` in the Makefile
  16.  
  17. build() {
  18.     echo startdir:$startdir srcdir:$srcdir pkgdir:$pkgdir >/tmp/absdebug
  19.     cp -f $startdir/Makefile $srcdir/crash-$pkgver/
  20.     cd $srcdir/crash-$pkgver
  21.     make
  22.     make DESTDIR=$pkgdir install
  23. }
clone this paste RAW Paste Data