Files
haikuports/haiku-apps/rawaes/rawaes-1.1.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

47 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="2"
SOURCE_URI="https://github.com/bbjimmy/rawaes/archive/Final.tar.gz"
CHECKSUM_SHA256="b60d5c7af7f8952d47d8d212f504ec550ae44bf65290e10971af81084ed22e80"
SOURCE_DIR="rawaes-Final"
PATCHES="rawaes-$portVersion.patchset"
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
}