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

Untitled

By: a guest on Jan 26th, 2013  |  syntax: None  |  size: 1.10 KB  |  views: 43  |  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: Robert Buhren <robert@robertbuhren.de>
  2. # Contributor: Gavin Lloyd <gavinhungry@gmail.com>
  3. # Contributor: xav <xav at ethertricks dot net>
  4. # Contributor: julian <pidanc_j at epita dot fr>
  5.  
  6. pkgname=tpm-tools
  7. pkgver=1.3.8
  8. pkgrel=1
  9. pkgdesc="Tools to manage and diagnose a TPM"
  10. arch=('i686' 'x86_64')
  11. url="http://sourceforge.net/projects/trousers"
  12. license=('CPL')
  13. depends=('trousers' 'opencryptoki')
  14. source=(http://downloads.sourceforge.net/project/trousers/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz
  15.         no-werror.patch
  16.         add-libdl.patch
  17.         add-nvcommon.patch)
  18. md5sums=('85a978c4e03fefd4b73cbeadde7c4d0b'
  19.          '268f6bd7e2e34ca0cb1de0e094607e08'
  20.          '8d4313663bea683edf2d5b9c299e323b'
  21.          '152b4d341b0a7c16aa72eb3df34a83ca')
  22.  
  23. build() {
  24.   cd ${srcdir}
  25. #  patch -p 0 < no-werror.patch
  26.  # patch -p 0 < add-libdl.patch
  27.  # patch -p 0 < add-nvcommon.patch
  28.  
  29.   cd ${srcdir}/${pkgname}-${pkgver}
  30.   ./configure --prefix=/usr --mandir=/usr/share/man --enable-static
  31.   make
  32. }
  33.  
  34. package() {
  35.   cd ${srcdir}/${pkgname}-${pkgver}
  36.   make DESTDIR=${pkgdir} install
  37. }
clone this paste RAW Paste Data