wok-next view sleuthkit/receipt @ rev 9012

python-gazpacho: Replace _pkg with DESTDIR. This fixes it.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 03 12:49:02 2011 +0000 (2011-03-03)
parents
children fbd3bf6502b5
line source
1 # SliTaz package receipt.
3 PACKAGE="sleuthkit"
4 VERSION="3.2.0"
5 CATEGORY="misc"
6 SHORT_DESC="File system and media management forensic analysis tools (supports NTFS, FAT, UFS1/2, FFS, Ext2 and Ext3)"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="perl"
9 BUILD_DEPENDS="perl sqlite-dev libpthread-stubs"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.sleuthkit.org/sleuthkit"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --without-libewf \
23 --without-afflib \
24 $CONFIGURE_ARGS &&
25 make LDFLAGS+="-lpthread -ldl" && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/share/tsk3 $fs/usr/share
35 }