wok-4.x view cryptsetup/receipt @ rev 1389

Up: nmap 4.76
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Sep 17 23:50:27 2008 +0200 (2008-09-17)
parents 684b99cc27dc
children 74c908326808
line source
1 # SliTaz package receipt.
3 PACKAGE="cryptsetup"
4 VERSION="1.0.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="dm-crypt setup tool"
7 MAINTAINER="wcnagel"
8 DEPENDS="e2fsprogs popt libgcrypt libdevmapper"
9 BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt-dev libdevmapper-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://luks.endorphin.org/dm-crypt"
12 WGET_URL="http://luks.endorphin.org/source/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr $CONFIGURE_ARGS
19 make && \
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/sbin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 strip -s $fs/usr/sbin/*
30 strip -s $fs/usr/lib/*
31 }