wok-next annotate cryptsetup/receipt @ rev 1127

linux-source: some post-install messages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 22 13:49:27 2008 +0000 (2008-07-22)
parents 684b99cc27dc
children 74c908326808
rev   line source
Bill@1025 1 # SliTaz package receipt.
Bill@1025 2
Bill@1025 3 PACKAGE="cryptsetup"
Bill@1025 4 VERSION="1.0.5"
Bill@1025 5 CATEGORY="system-tools"
Bill@1025 6 SHORT_DESC="dm-crypt setup tool"
Bill@1025 7 MAINTAINER="wcnagel"
wcnagel@1031 8 DEPENDS="e2fsprogs popt libgcrypt libdevmapper"
wcnagel@1031 9 BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt-dev libdevmapper-dev"
Bill@1025 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Bill@1025 11 WEB_SITE="http://luks.endorphin.org/dm-crypt"
Bill@1025 12 WGET_URL="http://luks.endorphin.org/source/$TARBALL"
Bill@1025 13
Bill@1025 14 # Rules to configure and make the package.
Bill@1025 15 compile_rules()
Bill@1025 16 {
Bill@1025 17 cd $src
Bill@1025 18 ./configure --prefix=/usr $CONFIGURE_ARGS
Bill@1025 19 make && \
Bill@1025 20 make DESTDIR=$PWD/_pkg install
Bill@1025 21 }
Bill@1025 22
Bill@1025 23 # Rules to gen a SliTaz package suitable for Tazpkg.
Bill@1025 24 genpkg_rules()
Bill@1025 25 {
Bill@1025 26 mkdir -p $fs/usr/lib
Bill@1025 27 cp -a $_pkg/usr/sbin $fs/usr
Bill@1025 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
Bill@1025 29 strip -s $fs/usr/sbin/*
Bill@1025 30 strip -s $fs/usr/lib/*
Bill@1025 31 }