wok diff dislocker/receipt @ rev 20676
Up cdrtools (3.01)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 24 23:10:49 2019 +0100 (2019-01-24) |
parents | |
children | 5ea0ce1cecc0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dislocker/receipt Thu Jan 24 23:10:49 2019 +0100 1.3 @@ -0,0 +1,44 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="dislocker" 1.7 +VERSION="0.7.1" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Read/write BitLocker encrypted volumes under Linux" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="https://github.com/Aorimn/dislocker" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="https://github.com/Aorimn/dislocker/archive/v$VERSION.tar.gz" 1.16 + 1.17 +DEPENDS="fuse mbedtls" 1.18 +BUILD_DEPENDS="cmake mbedtls-dev fuse-dev patch attr" 1.19 + 1.20 +compile_rules() { 1.21 + # Fix v0.7 upstream path error 1.22 + sed -i 's/DIS_MAN \${PROJECT_SOURCE_DIR}/DIS_MAN ../' src/CMakeLists.txt 1.23 + 1.24 + cp $stuff/manpage/* man/linux/ 1.25 + 1.26 + patch -p1 -i $stuff/fix-spelling.patch 1.27 + 1.28 + cmake \ 1.29 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.30 + -Dlibdir=/usr/lib \ 1.31 + -D WARN_FLAGS:STRING="-Wall -Wextra" \ 1.32 + . && 1.33 + make && 1.34 + make DESTDIR=$install install || return 1 1.35 + 1.36 + mkdir -p $install/usr/share/doc/$PACKAGE-$VERSION/ 1.37 + cp README.md CHANGELOG.md $install/usr/share/doc/$PACKAGE-$VERSION/ 1.38 + 1.39 + mkdir -p $install/usr/share/man/man1/ 1.40 + cp man/linux/dislocker-bek.1 man/linux/dislocker-metadata.1 \ 1.41 + $install/usr/share/man/man1/ 1.42 +} 1.43 + 1.44 +genpkg_rules() { 1.45 + mkdir -p $fs/usr/ 1.46 + cp -a $install/usr/bin/ $install/usr/lib/ $fs/usr/ 1.47 +}