public
Created

sleuthkit++ PKGBUILD which includes a patch for tsk to compile against libewf-20120416

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
pkgname=sleuthkit++
_pkgname=sleuthkit
pkgver=3.2.3
pkgrel=1
pkgdesc='File-system/disk-image Forensic analysis tools, supports AFF, EWF (EnCase), Ext2, Ext3, FAT, NTFS, UFS1/2, FFS and ISO9660'
url=http://www.sleuthkit.org/sleuthkit
arch=('i686' 'x86_64')
license=('GPL2' 'CPL' 'custom:IBM-PL')
depends=('expat')
makedepends=('afflib' 'libewf')
optdepends=(
'afflib: for (AFF) Advanced Forensics Format support [AUR]'
'libewf: for (EWF) Expert Witness Compression Format support [AUR]'
)
provides=('sleuthkit')
conflicts=('sleuthkit')
replaces=('sleuthkit')
options=('!libtool')
changelog='ChangeLog'
source=(
http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-$pkgver.tar.gz
http://downloads.sourceforge.net/project/libewf/patches%20for%203rd%20party%20software/sleuthkit/tsk3.2.3-libewf.patch
README.arch
)
 
build() {
cd "$srcdir/${_pkgname}-$pkgver"
patch -p1 < ../tsk$pkgver-libewf.patch
./configure --prefix=/usr --mandir=/usr/share/man
make
}
 
package() {
cd "$srcdir/${_pkgname}-$pkgver"
make DESTDIR=$pkgdir install
 
# make it nice...
install -Dm644 licenses/IBM-LICENSE $pkgdir/usr/share/licenses/$pkgname/IBM-PL
install -Dm644 $srcdir/README.arch $pkgdir/usr/share/licenses/$pkgname/README.arch
mkdir -p $pkgdir/usr/share/licenses/common
ln -s /usr/share/licenses/$pkgname/IBM-PL $pkgdir/usr/share/licenses/common/IBM-PL
}
 
# vim:set ts=4 sw=4 et:
md5sums=('29465ebe32cfeb5f0cab83e4e93823c5'
'a549c3dca1d1aec0eb9f21861a0ac4e7'
'0018e3098a22aaf6938d4051d5152738')

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.