wok-6.x annotate sleuthkit/receipt @ rev 13036

p2c: update wget_url (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 13 09:11:51 2012 +0200 (2012-06-13)
parents 1d87b7c3fc93
children 3b4e4318134e
rev   line source
slaxemulator@7269 1 # SliTaz package receipt.
slaxemulator@7269 2
slaxemulator@7269 3 PACKAGE="sleuthkit"
slaxemulator@11036 4 VERSION="3.2.3"
slaxemulator@7269 5 CATEGORY="misc"
slaxemulator@7269 6 SHORT_DESC="File system and media management forensic analysis tools (supports NTFS, FAT, UFS1/2, FFS, Ext2 and Ext3)"
slaxemulator@7269 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@7269 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@7269 9 WEB_SITE="http://www.sleuthkit.org/sleuthkit"
slaxemulator@7269 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@7269 11
slaxemulator@11036 12 DEPENDS="perl"
slaxemulator@11036 13 BUILD_DEPENDS="perl sqlite-dev libpthread-stubs"
slaxemulator@11036 14
slaxemulator@7269 15 # Rules to configure and make the package.
slaxemulator@7269 16 compile_rules()
slaxemulator@7269 17 {
slaxemulator@7269 18 cd $src
slaxemulator@7269 19 ./configure \
slaxemulator@7269 20 --prefix=/usr \
slaxemulator@7269 21 --infodir=/usr/share/info \
slaxemulator@7269 22 --mandir=/usr/share/man \
slaxemulator@7269 23 --without-libewf \
slaxemulator@7269 24 --without-afflib \
slaxemulator@7269 25 $CONFIGURE_ARGS &&
slaxemulator@11036 26 make LDFLAGS+="-lpthread -ldl" && make DESTDIR=$DESTDIR install
slaxemulator@7269 27 }
slaxemulator@7269 28
slaxemulator@7269 29 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7269 30 genpkg_rules()
slaxemulator@7269 31 {
slaxemulator@7269 32 mkdir -p $fs/usr/lib $fs/usr/share
slaxemulator@7269 33 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@7269 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@7269 35 cp -a $_pkg/usr/share/tsk3 $fs/usr/share
slaxemulator@7269 36 }
slaxemulator@7269 37