mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 04:58:52 +02:00
63 lines
1.7 KiB
Bash
63 lines
1.7 KiB
Bash
SUMMARY="A tool to encrypt devices and file images"
|
|
DESCRIPTION="DriveEncryption is a suite of programs to allow you to \
|
|
encrypt devices and file images. The encryption is done via the AES algorithm, \
|
|
and protected via a password.
|
|
It can also use devices created with TrueCrypt (http://www.truecrypt.org/), \
|
|
available for Windows and Linux, as long as you've created them to use the \
|
|
AES encryption algorithm and a RIPEMD-160 hash algorithm protected password."
|
|
HOMEPAGE="https://github.com/axeld/driveencryption"
|
|
COPYRIGHT="2007-2014 pinc Software"
|
|
LICENSE="TrueCrypt
|
|
MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/axeld/driveencryption/archive/993a11ceefac15d77406b697afb60b177d99bc45.tar.gz"
|
|
CHECKSUM_SHA256="18629ba278b197cf08cc13e5fe177ae3e023bf9046e1e94500f5821ff8eebfd2"
|
|
SOURCE_DIR="driveencryption-993a11ceefac15d77406b697afb60b177d99bc45"
|
|
|
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
|
|
|
PROVIDES="
|
|
drive_encryption = $portVersion
|
|
cmd:encrypted_drive_control = $portVersion
|
|
app:DriveEncryption = $portVersion
|
|
app:Login = $portVersion
|
|
add_on:encrypted_drive = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:make
|
|
cmd:gcc
|
|
cmd:mkdepend
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
for i in lib driver bin gui login; do
|
|
pushd $i
|
|
make $jobArgs OBJ_DIR=objects
|
|
popd
|
|
done
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $addOnsDir/kernel/drivers/bin $addOnsDir/kernel/drivers/dev/disk
|
|
cp -a driver/objects/encrypted_drive $addOnsDir/kernel/drivers/bin
|
|
ln -fs ../../bin/encrypted_drive $addOnsDir/kernel/drivers/dev/disk
|
|
|
|
|
|
mkdir -p $binDir
|
|
cp -a bin/objects/encrypted_drive_control $binDir
|
|
|
|
mkdir -p $appsDir
|
|
cp -a gui/objects/DriveEncryption $appsDir
|
|
addAppDeskbarSymlink $appsDir/DriveEncryption
|
|
}
|