wok view sleuthkit/receipt @ rev 12088
busybox: su should not chdir (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 09:31:50 2012 +0100 (2012-03-10) |
parents | 1d87b7c3fc93 |
children | 3b4e4318134e |
line source
1 # SliTaz package receipt.
3 PACKAGE="sleuthkit"
4 VERSION="3.2.3"
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.sleuthkit.org/sleuthkit"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="perl"
13 BUILD_DEPENDS="perl sqlite-dev libpthread-stubs"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --without-libewf \
24 --without-afflib \
25 $CONFIGURE_ARGS &&
26 make LDFLAGS+="-lpthread -ldl" && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/share/tsk3 $fs/usr/share
36 }