wok-next annotate sleuthkit/receipt @ rev 7909
Added DESTDIR=PWD/_pkg to attr. Needed for it to make packages.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 09 12:03:10 2011 +0000 (2011-01-09) |
parents | |
children | fbd3bf6502b5 |
rev | line source |
---|---|
slaxemulator@7269 | 1 # SliTaz package receipt. |
slaxemulator@7269 | 2 |
slaxemulator@7269 | 3 PACKAGE="sleuthkit" |
slaxemulator@7269 | 4 VERSION="3.2.0" |
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 DEPENDS="perl" |
slaxemulator@7269 | 9 BUILD_DEPENDS="perl sqlite-dev libpthread-stubs" |
slaxemulator@7269 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7269 | 11 WEB_SITE="http://www.sleuthkit.org/sleuthkit" |
slaxemulator@7269 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7269 | 13 |
slaxemulator@7269 | 14 # Rules to configure and make the package. |
slaxemulator@7269 | 15 compile_rules() |
slaxemulator@7269 | 16 { |
slaxemulator@7269 | 17 cd $src |
slaxemulator@7269 | 18 ./configure \ |
slaxemulator@7269 | 19 --prefix=/usr \ |
slaxemulator@7269 | 20 --infodir=/usr/share/info \ |
slaxemulator@7269 | 21 --mandir=/usr/share/man \ |
slaxemulator@7269 | 22 --without-libewf \ |
slaxemulator@7269 | 23 --without-afflib \ |
slaxemulator@7269 | 24 $CONFIGURE_ARGS && |
slaxemulator@7269 | 25 make LDFLAGS+="-lpthread -ldl" && make DESTDIR=$PWD/_pkg install |
slaxemulator@7269 | 26 } |
slaxemulator@7269 | 27 |
slaxemulator@7269 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7269 | 29 genpkg_rules() |
slaxemulator@7269 | 30 { |
slaxemulator@7269 | 31 mkdir -p $fs/usr/lib $fs/usr/share |
slaxemulator@7269 | 32 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7269 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7269 | 34 cp -a $_pkg/usr/share/tsk3 $fs/usr/share |
slaxemulator@7269 | 35 } |
slaxemulator@7269 | 36 |