wok-current view cryptsetup/receipt @ rev 19870

linld: fix progname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 30 15:54:03 2017 +0200 (2017-03-30)
parents 6ded87915b08
children 90fa9751f6a5
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 }