updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / libsafe / PKGBUILD
blob29ae6a136330931e147335e81fccdfbd05d3543c
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>
6 pkgname=libsafe
7 pkgver=2.0
8 pkgrel=16.3
9 pkgdesc="Detect and handle buffer overflows"
10 arch=(i686 x86_64)
11 license=('LGPL')
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'
18 build() {
19         cd $startdir/src/$pkgname-$pkgver-16/src
20         
21         patch -p0 -i ../../../libsafe-install.patch || return 1
22         mkdir -p $startdir/pkg/usr/lib
23         cd ..
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')