SUMMARY="A random symbol sequence generator"
DESCRIPTION="
Randomizer is a random symbol sequence generator. You can create sequences of \
any given length, and control what characters are used.
This program can be used for many purposes, such as for generating random \
passwords or random numbers.
"
HOMEPAGE="https://code.google.com/p/randomizer/"
SRC_URI="svn+http://randomizer.googlecode.com/svn/trunk/@r12"
LICENSE="MIT"
COPYRIGHT="2005-2009 Sergey S. Kazenyuk"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"

PROVIDES="
	randomizer = $portVersion
	app:randomizer = $portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"
BUILD_PREREQUIRES="
	cmd:gcc
	makefile_engine
	cmd:make
	cmd:mkdepend
	"

PATCHES="
	randomizer-1.0.0b1.patch
	"

SRC_FILENAME="download"

BUILD()
{
	cd src
	make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}

INSTALL()
{
	mkdir -p $appsDir
	cp src/Randomizer $appsDir
	addAppDeskbarSymlink $appsDir/Randomizer
}
