Files
haikuports/haiku-apps/rawaes/rawaes-1.1.recipe
2015-01-25 21:21:15 -08:00

47 lines
1.1 KiB
Plaintext

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 upto 15 bytes."
HOMEPAGE="https://github.com/bbjimmy/rawaes"
SRC_URI="https://github.com/bbjimmy/rawaes/archive/Final.tar.gz"
CHECKSUM_SHA256="b60d5c7af7f8952d47d8d212f504ec550ae44bf65290e10971af81084ed22e80"
SOURCE_DIR="rawaes-Final"
REVISION="1"
LICENSE="Rawaes"
COPYRIGHT="2000 Matthew Badger"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
rawaes = $portVersion
cmd:rawaes = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
haiku
cmd:make
cmd:mkdepend
makefile_engine
cmd:gcc
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
mkdir -p $binDir
mkdir -p $developDir/sources/rawaes/aes
cp rawaes.* $developDir/sources/rawaes/
cp aes/*.* $developDir/sources/rawaes/aes/
cd objects.*
cp rawaes $binDir
}