summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schuerch <nativemad@gentoo.org>2016-01-26 10:11:05 +0100
committerAndreas Schuerch <nativemad@gentoo.org>2016-01-26 10:14:49 +0100
commit5c490a2ad6a04f23c818b3abd6f23069940367e4 (patch)
tree242e990ffe9c3debdeb0c7ab2850bc7420a3c344 /sys-fs/dislocker
parentMerge remote-tracking branch 'remotes/sbraz/tempita' (diff)
downloadgentoo-5c490a2ad6a04f23c818b3abd6f23069940367e4.tar.gz
gentoo-5c490a2ad6a04f23c818b3abd6f23069940367e4.tar.bz2
gentoo-5c490a2ad6a04f23c818b3abd6f23069940367e4.zip
sys-fs/dislocker: version bump to 0.5.2
Package-Manager: portage-2.2.26
Diffstat (limited to 'sys-fs/dislocker')
-rw-r--r--sys-fs/dislocker/Manifest1
-rw-r--r--sys-fs/dislocker/dislocker-0.5.2.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-fs/dislocker/Manifest b/sys-fs/dislocker/Manifest
new file mode 100644
index 000000000000..ffe4d7bd8c99
--- /dev/null
+++ b/sys-fs/dislocker/Manifest
@@ -0,0 +1 @@
+DIST dislocker-0.5.2.tar.gz 97928 SHA256 469a6a623c9477399c2b9ca5116724c03df4ce1889bbcfe3d5f57956b15c0643 SHA512 023145313417befa2b3b26ce158cce3b356e9533d2fb8ad8576e63a0b1e07b78de3a68d86999ab26984aac4f634bef13310cd5c4954bc994971a9e64c5508e61 WHIRLPOOL 751a49343e0dd53f0ae3e6424dba39a43e7780bddbebc39192ed1f6f09b351352aba253ac858aaff0db6fbdf1cdf8c28fb9f6511d38b9ccbeceee61c4412e43d
diff --git a/sys-fs/dislocker/dislocker-0.5.2.ebuild b/sys-fs/dislocker/dislocker-0.5.2.ebuild
new file mode 100644
index 000000000000..e4497f2fa087
--- /dev/null
+++ b/sys-fs/dislocker/dislocker-0.5.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils cmake-utils flag-o-matic
+
+DESCRIPTION="Dislocker is used to read BitLocker encrypted partitions."
+HOMEPAGE="https://github.com/Aorimn/dislocker"
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/Aorimn/dislocker.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/Aorimn/dislocker/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="ruby"
+
+DEPEND="sys-fs/fuse
+ || ( net-libs/polarssl net-libs/mbedtls )
+ ruby? ( dev-lang/ruby:2.1 )"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+# We either need to change Werror to Wno-error or remove the multiple declarations of FORTIFY_SOURCE
+# sed 's:Werror:Wno-error:g' -i "${S}/src/CMakeLists.txt" || die
+ sed 's:-D_FORTIFY_SOURCE=2::g' -i "${S}/src/CMakeLists.txt" || die
+
+ sed 's:\.\./man:'../../${P}/man':g' -i "${S}/src/CMakeLists.txt" || die
+}
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_find_package ruby Ruby)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ find "${S}/man/linux" -name '*.1' -exec doman '{}' +
+ cmake-utils_src_install
+}