wok view sleuthkit/receipt @ rev 12679

centerim: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 01 15:12:54 2012 +0200 (2012-05-01)
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 }