Files
haikuports/haiku-apps/rawaes/rawaes-1.1.recipe
2016-02-17 14:39:36 -05:00

46 lines
1.1 KiB
Bash

SUMMARY="Command-line encryption utility"
DESCRIPTION="Rawaes encrypts a file using the Advandced Encryption Standard (AES). AES \
uses the Rijndael Algorithm, a 128-bit block cipher, to encrypt. Since the \
encryption requires 16-byte blocks, rawaes will pad any uneven blocks with 0s, \
possibly increasing the size of the file up to 15 bytes."
HOMEPAGE="https://github.com/bbjimmy/rawaes"
COPYRIGHT="2000 Matthew Badger"
LICENSE="Rawaes"
REVISION="1"
SOURCE_URI="https://github.com/bbjimmy/rawaes/archive/Final.tar.gz"
CHECKSUM_SHA256="b60d5c7af7f8952d47d8d212f504ec550ae44bf65290e10971af81084ed22e80"
SOURCE_DIR="rawaes-Final"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
rawaes$secondaryArchSuffix = $portVersion
cmd:rawaes = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
makefile_engine
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $binDir
mkdir -p $developDir/sources/rawaes
cp rawaes.cpp rawaes.h -t $developDir/sources/rawaes/
cp -r aes $developDir/sources/rawaes/
cp objects/rawaes $binDir
}