wok view cryptsetup/receipt @ rev 22952
updated intel-microcode (20180807a -> 20191115)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 28 14:42:39 2020 +0100 (2020-02-28) |
parents | bd6074cbab4c |
children | 81714c82f6be |
line source
1 # SliTaz package receipt.
3 PACKAGE="cryptsetup"
4 VERSION="2.3.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 WEB_SITE="https://gitlab.com/$PACKAGE/$PACKAGE"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://www.kernel.org/pub/linux/utils/$PACKAGE/v${VERSION%.*}/$TARBALL"
14 DEPENDS="e2fsprogs libdevmapper libgcrypt libjson-c openssl popt"
15 BUILD_DEPENDS="e2fsprogs-dev libdevmapper-dev libgcrypt-dev
16 libjson-c-dev openssl-dev popt-dev util-linux-blkid-dev
17 util-linux-uuid-dev"
19 current_version()
20 {
21 local base=$(wget -O - ${WGET_URL%/v*} 2>/dev/null | \
22 sed '/href/!d;s|.*href="\(.*\)".*|\1|' | tail -n 1)
23 wget -O - ${WGET_URL%/v*}/$base 2>/dev/null | sed \
24 "/href/!d;/z/!d;s|.*href=\"$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | \
25 tail -n1
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
43 cp -a $install/usr/sbin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }