updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / tboot / PKGBUILD
blobd3d3e94003a4ec86ab9ee56f9815ddba71e989b8
1 pkgname="tboot"
2 pkgver="1.6"
3 pkgrel="1"
4 pkgdesc="A pre-kernel/VMM module that uses Intel(R) TXT to perform a measured and verified launch of an OS kernel/VMM."
5 arch=('i686' 'x86_64')
6 url="http://sourceforge.net/projects/tboot/"
7 license="BSD"
8 depends=('trousers')
9 options=('!strip' '!ccache' '!distcc' '!buildflags' '!makeflags')
10 source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
11 sha512sums=("a2b2e36386733da87f30e736a30f3b96b2d49299e66a9c665e8ea3ecf749f17692d51d4409edf5e90c1cc76d14c38752e64428ac0f5db96fdfc9a0471adbd8a7")
13 build() {
14         cd "${srcdir}"/${pkgname}-${pkgver}
15         unset CFLAGS
16         make debug=y
19 package() {
20         cd "${srcdir}"/${pkgname}-${pkgver}
21         make debug=y DISTDIR="${pkgdir}" install
22         mkdir -p "${pkgdir}"/usr/share/doc/${pkgname}
23         #Thanks to the Fedora packagers for this line!
24         cp README COPYING docs/* lcptools/lcptools2.txt lcptools/Linux_LCP_Tools_User_Manual.pdf "${pkgdir}"/usr/share/doc/${pkgname}/