mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
46 lines
1.2 KiB
Bash
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
|
|
}
|