update recipe and license

This commit is contained in:
Jim
2015-01-25 21:21:15 -08:00
parent f10e8f65b9
commit fa72961572
2 changed files with 30 additions and 31 deletions

View File

@@ -7,3 +7,8 @@
if and only if the program's source is also
distributed. The author assumes no responsibility
for damaged caused due to the use of this program.
Rawaes may be ported to other platforms or used as a
basis for another freely available program as long as it
is not claimed that the author/developer of the new
software is Matthew Badger.

View File

@@ -1,53 +1,47 @@
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"
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"
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"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
rawaes = $portVersion
cmd:rawaes = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
haiku
cmd:make
cmd:mkdepend
makefile_engine
cmd:gcc
"
BUILD()
{
make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
make $jobArgs
}
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
}