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="2" srcGitRev="69b64aba11aab622328aca11c1840c7a3416707c" SOURCE_URI="https://github.com/axeld/driveencryption/archive/$srcGitRev.tar.gz" CHECKSUM_SHA256="e68c3df8b937619c9bcd5e8f90f3682695ccbf0b604979a95e0c62a1220cbe34" SOURCE_DIR="driveencryption-$srcGitRev" PATCHES="drive_encryption-$portVersion.patchset" ARCHITECTURES="?all" PROVIDES=" drive_encryption = $portVersion add_on:encrypted_drive = $portVersion app:DriveEncryption = $portVersion app:Login = $portVersion cmd:encrypted_drive_control = $portVersion " REQUIRES=" haiku " BUILD_REQUIRES=" haiku_devel " BUILD_PREREQUIRES=" makefile_engine cmd:gcc cmd:make 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 }