wok-current view cryptsetup/receipt @ rev 20166
Up cryptsetup (2.0.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 10 17:53:07 2018 +0100 (2018-01-10) |
parents | f2cf0de52bd3 |
children | f4915935c316 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cryptsetup"
4 VERSION="2.0.0"
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 libjson-c"
14 BUILD_DEPENDS="e2fsprogs-dev popt-dev libgcrypt libgcrypt-dev libdevmapper \
15 libdevmapper-dev util-linux-uuid util-linux-uuid-dev popt libjson-c-dev"
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 }