wok annotate sleuthkit/receipt @ rev 14177

linux: update bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 10 17:43:26 2013 +0100 (2013-03-10)
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