wok-next view cryptsetup/receipt @ rev 19714
Up cookutils (901)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 12 16:19:41 2017 +0300 (2017-05-12) |
parents | 6ded87915b08 |
children | 0e8dadf052b9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cryptsetup"
4 VERSION="1.7.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="dm-crypt setup tool for encryption of block devices"
7 MAINTAINER="b1+slitaz@nagel.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://gitlab.com/$PACKAGE/$PACKAGE"
11 WGET_URL="https://www.kernel.org/pub/linux/utils/$PACKAGE/v${VERSION%.*}/$TARBALL"
13 DEPENDS="e2fsprogs popt libgcrypt libdevmapper"
14 BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt libgcrypt-dev libdevmapper \
15 libdevmapper-dev util-linux-uuid util-linux-uuid-dev popt"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/sbin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }