Files
haikuports/haiku-apps/rawaes/rawaes-1.1.recipe
2015-01-26 08:41:36 -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="
cmd:gcc
cmd:make
makefile_engine
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $binDir
mkdir -p $developDir/sources/rawaes/aes
cp rawaes.* $developDir/sources/rawaes/
cp aes/*.* $developDir/sources/rawaes/aes/
cp objects/rawaes $binDir
}