wok-current view dislocker/receipt @ rev 22371

updated kivy (1.4.1 -> 1.10.1)
author Hans-G?nter Theisgen
date Tue Nov 26 17:37:07 2019 +0100 (2019-11-26)
parents
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
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 DEPENDS="fuse mbedtls"
15 BUILD_DEPENDS="cmake mbedtls-dev fuse-dev patch attr"
17 compile_rules() {
18 # Fix v0.7 upstream path error
19 sed -i 's/DIS_MAN \${PROJECT_SOURCE_DIR}/DIS_MAN ../' src/CMakeLists.txt
21 cp $stuff/manpage/* man/linux/
23 patch -p1 -i $stuff/fix-spelling.patch
25 cmake \
26 -DCMAKE_INSTALL_PREFIX=/usr \
27 -Dlibdir=/usr/lib \
28 -D WARN_FLAGS:STRING="-Wall -Wextra" \
29 . &&
30 make &&
31 make DESTDIR=$install install || return 1
33 mkdir -p $install/usr/share/doc/$PACKAGE-$VERSION/
34 cp README.md CHANGELOG.md $install/usr/share/doc/$PACKAGE-$VERSION/
36 mkdir -p $install/usr/share/man/man1/
37 cp man/linux/dislocker-bek.1 man/linux/dislocker-metadata.1 \
38 $install/usr/share/man/man1/
39 }
41 genpkg_rules() {
42 mkdir -p $fs/usr/
43 cp -a $install/usr/bin/ $install/usr/lib/ $fs/usr/
44 }