Want more features on Pastebin? Sign Up, it's FREE!
Guest

ipmitool.PKGBUILD

By: a guest on Apr 7th, 2013  |  syntax: Bash  |  size: 0.69 KB  |  views: 65  |  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. # Maintainer: gori
  2. # Contributor: Florian Dejonckheere <florian@floriandejonckheere.be>
  3.  
  4. pkgname=ipmitool
  5. pkgver=1.8.12
  6. pkgrel=2
  7. pkgdesc="Command-line interface to IPMI-enabled devices"
  8. arch=('i686' 'x86_64')
  9. url="http://ipmitool.sourceforge.net"
  10. depends=('openssl')
  11. license=('custom:"BSD"')
  12. source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
  13. md5sums=('cfdfd15b6ee471c19a7a7e6b47233963')
  14.  
  15. build() {
  16.   cd ${srcdir}
  17.   tar -xf ${pkgname}-${pkgver}.tar.bz2
  18.   cd ${srcdir}/${pkgname}-${pkgver}
  19.   ./configure --prefix=/usr --with-kerneldir
  20.   make
  21. }
  22.  
  23. package(){
  24.   cd ${srcdir}/${pkgname}-${pkgver}
  25.   make DESTDIR=${pkgdir} install
  26. }
clone this paste RAW Paste Data