wok-next view dislocker/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 0e59608556bf |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="dislocker"
4 VERSION="0.7.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Read/write BitLocker encrypted volumes under Linux"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/Aorimn/dislocker"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Aorimn/dislocker/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake mbedtls-dev fuse2-dev"
16 compile_rules() {
17 # Fix v0.7 upstream path error
18 sed -i 's/DIS_MAN \${PROJECT_SOURCE_DIR}/DIS_MAN ../' src/CMakeLists.txt
20 cp $stuff/manpage/* man/linux/
22 cmake \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -Dlibdir=/usr/lib \
25 -D WARN_FLAGS:STRING="-Wall -Wextra" \
26 . &&
27 make &&
28 make DESTDIR=$install install || return 1
30 cook_pick_docs README.md CHANGELOG.md
31 cook_pick_manpages man/linux/dislocker-bek.1 man/linux/dislocker-metadata.1
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="fuse2 mbedtls"
37 }