1 # $Id: PKGBUILD,v 1.4 2006/07/19 21:02:25 andyrtr Exp $
2 # Maintainer: arjan <arjan@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4 # Contributor: Cristian Contescu <ckristi@gmail.com>
9 pkgdesc="Detect and handle buffer overflows"
12 #source=(http://www.research.avayalabs.com/project/libsafe/src/$pkgname-$pkgver-16.tgz)
13 #url="http://www.research.avayalabs.com/project/libsafe/"
14 source=("http://pubs.research.avayalabs.com/src/libsafe-$pkgver-16.tgz"
15 "http://itee.elth.pub.ro/~kristi/Arch/LibSafe/libsafe-install.patch")
16 url='http://www.research.avayalabs.com/gcm/usa/en-us/initiatives/all/nsr.htm&Filter=ProjectTitle:Libsafe&Wrapper=LabsProjectDetails&View=LabsProjectDetails'
19 cd $startdir/src/$pkgname-$pkgver-16/src
21 patch -p0 -i ../../../libsafe-install.patch || return 1
22 mkdir -p $startdir/pkg/usr/lib
24 make LIBDIR=$startdir/pkg/usr/lib || return 1
25 make LIBDIR=$startdir/pkg/usr/lib install
26 mkdir -p $startdir/pkg/usr/share/man/man8
27 cp $startdir/src/$pkgname-$pkgver-16/doc/libsafe.8 $startdir/pkg/usr/share/man/man8
29 md5sums=('6b7b6e6df84d4afb469ccc66d04fc24d'
30 'f7296706246368dbb40d1fdd428225ad')