app-crypt/stegsnow: new recipe added (GCI 2016) (#938)

This commit is contained in:
hermord
2016-12-20 20:56:35 -05:00
committed by fbrosson
parent 66478f13de
commit 6eb083d2f5

View File

@@ -0,0 +1,47 @@
SUMMARY="Hides information in text files using trailing whitespace"
DESCRIPTION="SNOW (Steganographic Nature Of Whitespace) is a steganography \
tool which conceals messages in ASCII text by appending spaces to the end of \
lines. Optional encryption is supported to further secure the message."
HOMEPAGE="http://www.darkside.com.au/snow/"
COPYRIGHT="1998-2013 Matthew Kwan"
LICENSE="Apache v2"
REVISION="1"
SOURCE_URI="http://www.darkside.com.au/snow/snow-$portVersion.tar.gz"
CHECKSUM_SHA256="c0b71aa74ed628d121f81b1cd4ae07c2842c41cfbdf639b50291fc527c213865"
SOURCE_DIR="snow-$portVersion"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
stegsnow = $portVersion
cmd:stegsnow = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
"
PATCH()
{
sed -i 's/snow/steg&/g; s/SNOW/STEG&/g;' snow.1
}
BUILD()
{
make $jobArgs
}
INSTALL()
{
# Upstream Makefile has no install target
install -d -m 755 $binDir $manDir/man1
install -m 555 -s -T snow $binDir/stegsnow
install -m 444 -T snow.1 $manDir/man1/stegsnow.1
}