PKGBUILDs/community/sleuthkit/PKGBUILD

23 lines
791 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr>
pkgname=sleuthkit
pkgver=3.0.1
pkgrel=1
pkgdesc='File system and media management forensic analysis tools (supports NTFS, FAT, UFS1/2, FFS, Ext2 and Ext3)'
url='http://www.sleuthkit.org/sleuthkit'
arch=('i686' 'x86_64')
license=('GPL2' 'CPL' 'custom:"IBM Public Licence"')
depends=(perl)
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('55956dd3bbfa6c9e2ebcc685c2a9569d')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
install -d "$pkgdir/usr/share/licenses/$pkgname"
cp licenses/* "$pkgdir/usr/share/licenses/$pkgname"
}