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

46 lines
1.2 KiB
Bash
Raw Permalink Normal View History

2015-01-21 17:23:46 +00:00
SUMMARY="Command-line encryption utility"
2015-01-26 16:41:36 +00:00
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, \
2015-01-27 15:57:43 +00:00
possibly increasing the size of the file up to 15 bytes."
2015-01-21 17:23:46 +00:00
HOMEPAGE="https://github.com/bbjimmy/rawaes"
2016-02-17 19:26:37 +00:00
COPYRIGHT="2000 Matthew Badger"
LICENSE="Rawaes"
2018-09-17 10:51:34 +00:00
REVISION="3"
SOURCE_URI="https://github.com/bbjimmy/rawaes/archive/0671241bce8dd5e3fc3d544efedf3356c4315fe0.tar.gz"
CHECKSUM_SHA256="5a3cd93062e481a34abb8931d8be28d75cd02da82b35f811caff45e2e43ca671"
SOURCE_DIR="rawaes-0671241bce8dd5e3fc3d544efedf3356c4315fe0"
2015-01-21 17:23:46 +00:00
ARCHITECTURES="all"
2015-01-21 17:23:46 +00:00
2015-01-26 05:21:15 +00:00
PROVIDES="
rawaes$secondaryArchSuffix = $portVersion
2015-01-26 05:21:15 +00:00
cmd:rawaes = $portVersion
"
REQUIRES="
2015-01-21 17:23:46 +00:00
haiku
"
2015-01-26 05:21:15 +00:00
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
2015-01-26 05:21:15 +00:00
"
2015-01-21 17:23:46 +00:00
BUILD_PREREQUIRES="
2018-08-09 09:26:07 +00:00
makefile_engine
cmd:gcc$secondaryArchSuffix
2015-01-21 17:23:46 +00:00
cmd:make
"
BUILD()
{
2015-01-26 16:41:36 +00:00
make $jobArgs OBJ_DIR=objects
2015-01-21 17:23:46 +00:00
}
INSTALL()
{
mkdir -p $binDir
2015-01-26 18:34:01 +00:00
mkdir -p $developDir/sources/rawaes
2015-01-26 19:09:31 +00:00
cp rawaes.cpp rawaes.h -t $developDir/sources/rawaes/
2015-01-26 18:34:01 +00:00
cp -r aes $developDir/sources/rawaes/
2015-01-26 16:41:36 +00:00
cp objects/rawaes $binDir
2016-02-17 19:26:37 +00:00
}