wok-current rev 1025
receipt for cryptsetup
author | Bill Nagel |
---|---|
date | Thu Jul 10 02:25:22 2008 +0000 (2008-07-10) |
parents | 821a9fc5077b |
children | 1bd86206f737 |
files | cryptsetup/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cryptsetup/receipt Thu Jul 10 02:25:22 2008 +0000 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cryptsetup" 1.7 +VERSION="1.0.5" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="dm-crypt setup tool" 1.10 +MAINTAINER="wcnagel" 1.11 +DEPENDS="e2fsprogs popt" 1.12 +BUILD_DEPENDS="e2fsprogs-dev popt-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://luks.endorphin.org/dm-crypt" 1.15 +WGET_URL="http://luks.endorphin.org/source/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure --prefix=/usr $CONFIGURE_ARGS 1.22 + make && \ 1.23 + make DESTDIR=$PWD/_pkg install 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr/lib 1.30 + cp -a $_pkg/usr/sbin $fs/usr 1.31 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.32 + strip -s $fs/usr/sbin/* 1.33 + strip -s $fs/usr/lib/* 1.34 +}