Files
haikuports/media-gfx/tuxpaint/tuxpaint-0.9.22.recipe
Jerome Duval 816e4b9a26 tuxpaint: enable x86_64, fix build
*couldn't test, package contents not published.
2014-08-30 21:21:14 +00:00

81 lines
1.7 KiB
Plaintext

SUMMARY="Drawing program designed for young children"
DESCRIPTION="
Tux Paint is a free, award-winning drawing program for children ages 3 to 12 (for example, preschool and K-6). Tux Paint is used in schools and around the world as a computer literacy drawing activity. It combines an easy-to-use interface, fun sound effects, and an encouraging cartoon mascot who guides children as they use the program.
"
HOMEPAGE="http://www.tuxpaint.org/"
#SRC_URI="cvs://:pserver:anonymous@tuxpaint.cvs.sourceforge.net:/cvsroot/tuxpaint/tuxpaint"
SRC_URI="http://sourceforge.net/projects/tuxpaint/files/tuxpaint/0.9.22/tuxpaint-0.9.22.tar.gz"
CHECKSUM_SHA256="8abd932f8e36fad795bba0290c094c9c221e424c4b9aa8c763b7fb3459cb2be3"
COPYRIGHT="2002-2010 Bill Kendrick and others"
LICENSE="GNU GPL v2"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PATCHES="tuxpaint-$portVersion.patchset"
PROVIDES="
tuxpaint = $portVersion
"
REQUIRES="
haiku
lib:libpaper
lib:libsdl
lib:libintl
lib:libSDL_ttf
lib:libSDL_image
lib:libSDL_mixer
lib:libfribidi
lib:freetype
lib:gettext
lib:libpng
lib:libiconv
lib:libz
"
BUILD_REQUIRES="
devel:libsdl
devel:libintl
devel:libpaper
devel:libSDL_ttf
devel:libSDL_image
devel:libSDL_mixer
devel:libfribidi
# devel:freetype
# devel:gettext
devel:libpng
devel:libz
devel:libiconv
"
BUILD_PREREQUIRES="
haiku_devel
cmd:make
cmd:gcc
cmd:gperf
cmd:pkg_config
cmd:ld
"
USER_SETTINGS_FILES="
settings/TuxPaint directory
"
BUILD()
{
make $jobArgs FRIBIDI_LIB=-lfribidi
}
INSTALL()
{
tuxpaintDir=$appsDir/TuxPaint
mkdir -p $tuxpaintDir
cp tuxpaint $tuxpaintDir/TuxPaint
# make install
#TODO Get TuxPaint put where we want it and create the settings folder, etc.
}