Files
haikuports/media-gfx/tuxpaint/tuxpaint-0.9.23.recipe
2018-09-12 09:51:18 -07:00

73 lines
1.5 KiB
Bash

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/"
COPYRIGHT="2002-2018 Bill Kendrick and others"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/tuxpaint/tuxpaint-$portVersion.tar.gz"
CHECKSUM_SHA256="349919c44e0fa252581be6e3242251fb62d20a82c971e99be96d648462bf6926"
PATCHES="tuxpaint-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
USER_SETTINGS_FILES="
settings/TuxPaint directory
"
PROVIDES="
tuxpaint = $portVersion
"
REQUIRES="
haiku
lib:libfribidi
lib:libiconv
lib:libintl
lib:libpaper
lib:libpng16
lib:libsdl
lib:libSDL_image
lib:libSDL_mixer
lib:libSDL_ttf
lib:libz
"
BUILD_REQUIRES="
haiku_devel
devel:libfribidi
devel:libiconv
devel:libintl
devel:libpaper
devel:libpng
devel:libsdl
devel:libSDL_image
devel:libSDL_mixer
devel:libSDL_ttf
devel:libz
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:gperf
cmd:ld
cmd:make
cmd:pkg_config
"
BUILD()
{
make $jobArgs PREFIX=$appsDir/TuxPaint
}
INSTALL()
{
mkdir -p $appsDir/TuxPaint
make install PREFIX=$appsDir/TuxPaint
ln -s $appsDir/TuxPaint/bin/tuxpaint $appsDir/TuxPaint/TuxPaint
addAppDeskbarSymlink $appsDir/TuxPaint/bin/tuxpaint TuxPaint
}