wok-current view cryptsetup/receipt @ rev 3919
linux: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 18 19:22:04 2009 +0200 (2009-08-18) |
parents | 52dc4b48ed81 |
children | 92bad8adb911 |
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="b1+slitaz@nagel.org"
8 DEPENDS="e2fsprogs popt libgcrypt libdevmapper"
9 BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt 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 }