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>
9 pkgdesc="Open-source TCG Software Stack implementation for use with a TPM"
10 arch=('i686' 'x86_64')
11 url="http://sourceforge.net/projects/trousers"
14 install=${pkgname}.install
15 source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz
20 md5sums=('6411e70e24e55a22885193484f6669be'
21 '7b9db39b3144194d691e703cf6bb4afd'
22 'c69c679b5dc64974c450f6f094f6b522'
23 '3808cb22913851d0e93349cbac7b2900'
24 '9fa52c5a41ddc58e7826488424db310a')
28 patch -p 0 < no-werror.patch
29 patch -p 0 < tss-user.patch
31 cd ${srcdir}/${pkgname}-${pkgver}
32 ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --with-openssl=/usr
33 ln -sf `which libtool` libtool
38 cd ${srcdir}/${pkgname}-${pkgver}
39 make DESTDIR=${pkgdir} install
40 install -Dm755 ${srcdir}/tcsd ${pkgdir}/etc/rc.d/tcsd