0
0
Fork 0
haikuports/haiku-apps/rawaes/rawaes-1.1.recipe

46 lines
1.2 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="3"
SOURCE_URI="https://github.com/bbjimmy/rawaes/archive/0671241bce8dd5e3fc3d544efedf3356c4315fe0.tar.gz"
CHECKSUM_SHA256="5a3cd93062e481a34abb8931d8be28d75cd02da82b35f811caff45e2e43ca671"
SOURCE_DIR="rawaes-0671241bce8dd5e3fc3d544efedf3356c4315fe0"
ARCHITECTURES="all"
PROVIDES="
rawaes$secondaryArchSuffix = $portVersion
cmd:rawaes = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:make
"
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
}