SUMMARY="A Steganography Program"
DESCRIPTION="Steghide is a steganography program that is able to hide data in \
various kinds of image and audio files. The color respectivly \
sample-frequencies are not changed thus making the embedding resistant against \
first-order statistical tests."
HOMEPAGE="http://steghide.sourceforge.net/"
COPYRIGHT="2001-2003 Stefan Hetzl"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="https://downloads.sourceforge.net/steghide/steghide-$portVersion.tar.bz2"
CHECKSUM_SHA256="a2c7f879a3e22860879889106cc49e486000653f81448264affa0fd616a47da1"
PATCHES="steghide-$portVersion.patchset"

ARCHITECTURES="all"

PROVIDES="
	steghide = $portVersion
	cmd:steghide = $portVersion
	"
REQUIRES="
	haiku
	lib:libintl
	lib:libjpeg
	lib:libmcrypt
	lib:libmhash
	lib:libz
	"

BUILD_REQUIRES="
	haiku_devel
	devel:libintl
	devel:libjpeg
	devel:libmcrypt
	devel:libmhash
	devel:libz
	"
BUILD_PREREQUIRES="
	cmd:aclocal
	cmd:autoreconf
	cmd:gcc
	cmd:gettext
	cmd:libtoolize
	cmd:make
	"

PATCH()
{
	sed -i -e "/^docdir =/ d;" Makefile.am
}

BUILD()
{
	touch ./NEWS
	touch ./AUTHORS
	touch ./ChangeLog
	autoreconf -vfi
	runConfigure ./configure
	make $jobArgs
}

INSTALL()
{
	make install
}

TEST()
{
	make check
}
