SUMMARY="A screensaver displaying woollen string"
DESCRIPTION="Wolle is a screensaver which draws a woollen string over your \
desktop."
HOMEPAGE="https://github.com/HaikuArchives/Wolle"
COPYRIGHT="2001-2008 Werner Freytag
	2009 Haiku"
LICENSE="MIT"
REVISION="1"
srcGitRev="21c02f8a85d290ae3a16da5d494a31ae19df37f6"
SOURCE_URI="https://github.com/HaikuArchives/Wolle/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="291a7a62679c546653f2db120addd4859de05c14401de044845bb06553a666ad"
SOURCE_FILENAME="Wolle-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="Wolle-$srcGitRev"

ARCHITECTURES="all"

PROVIDES="
	wolle = $portVersion
	addon:Wolle = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	"

BUILD()
{
	make OBJ_DIR=objects
}

INSTALL()
{
	install -d "$addOnsDir/Screen Savers"
	install -t "$addOnsDir/Screen Savers" objects/Wolle
}
