mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
add rawaes recipe
This commit is contained in:
53
haiku-apps/rawaes/rawaes-1.1.recipe
Normal file
53
haiku-apps/rawaes/rawaes-1.1.recipe
Normal file
@@ -0,0 +1,53 @@
|
||||
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."
|
||||
|
||||
SUMMARY="Command-line encryption utility"
|
||||
|
||||
LICENSE="rawaes"
|
||||
|
||||
COPYRIGHT="2000 Matthew Badger"
|
||||
|
||||
HOMEPAGE="https://github.com/bbjimmy/rawaes"
|
||||
SRC_URI="https://github.com/bbjimmy/rawaes/archive/1.1.tar.gz"
|
||||
CHECKSUM_SHA256="d61578c2ede9b25e80cd9c682238d290572262ad1273a036da39e086f6a06302"
|
||||
|
||||
|
||||
REVISION="1"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
haiku
|
||||
"
|
||||
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku
|
||||
cmd:make
|
||||
cmd:mkdepend
|
||||
makefile_engine
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
"
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
rawaes = $portVersion
|
||||
cmd:rawaes = $portVersion
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir
|
||||
mkdir -p $developDir/sources/rawaes
|
||||
mkdir -p $developDir/sources/rawaes/aes
|
||||
cp rawaes.* $developDir/sources/rawaes/
|
||||
cp aes/*.* $developDir/sources/rawaes/aes/
|
||||
cd objects.*
|
||||
cp rawaes $binDir
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user