wok annotate cryptsetup/receipt @ rev 1029
Add get-ipw2100-firmware and get-ipw2200-firmware
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 10 20:09:55 2008 +0000 (2008-07-10) |
parents | |
children | e7272bdeb3bd |
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" |
Bill@1025 | 8 DEPENDS="e2fsprogs popt" |
Bill@1025 | 9 BUILD_DEPENDS="e2fsprogs-dev popt-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 } |