2016-08-06 17:16:45 +00:00
|
|
|
SUMMARY="Tux4Kids' typing tutor for kids"
|
|
|
|
DESCRIPTION="TuxType2 is an educational typing tutor for kids starring Tux, \
|
|
|
|
the Linux penguin. This educational game comes with two different games for \
|
|
|
|
practicing typing, and having a great time doing it."
|
2018-09-18 08:42:59 +00:00
|
|
|
HOMEPAGE="https://sourceforge.net/projects/tuxtype/"
|
2016-08-06 15:53:08 +00:00
|
|
|
COPYRIGHT="2000-2009 Sam Hart"
|
|
|
|
LICENSE="GNU GPL v2"
|
2020-11-21 08:24:46 +00:00
|
|
|
REVISION="6"
|
2018-09-18 08:42:59 +00:00
|
|
|
SOURCE_URI="https://sf.net/projects/tuxtype/files/OldFiles/tuxtype2-1.5.2.tar.gz"
|
2016-08-06 15:53:08 +00:00
|
|
|
CHECKSUM_SHA256="d9552a3fe8367f14358e01d47aeb2603c6891fe0ec2e73414c541d91f0466d5d"
|
|
|
|
PATCHES="tuxtype2-$portVersion.patchset"
|
2018-08-03 07:19:52 +00:00
|
|
|
ADDITIONAL_FILES="tuxtype2.rdef"
|
2016-08-06 15:53:08 +00:00
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
2016-08-06 15:53:08 +00:00
|
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
|
|
|
|
PROVIDES="
|
|
|
|
tuxtype2$secondaryArchSuffix
|
|
|
|
app:TuxType2$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
REQUIRES="
|
|
|
|
haiku$secondaryArchSuffix
|
|
|
|
lib:libcrypto$secondaryArchSuffix
|
2020-11-21 08:24:46 +00:00
|
|
|
lib:libSDL_1.2$secondaryArchSuffix
|
|
|
|
lib:libSDL_image_1.2$secondaryArchSuffix
|
|
|
|
lib:libSDL_mixer_1.2$secondaryArchSuffix
|
|
|
|
lib:libSDL_ttf_2.0$secondaryArchSuffix
|
2016-08-06 15:53:08 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
|
|
|
haiku${secondaryArchSuffix}_devel
|
|
|
|
devel:libcrypto$secondaryArchSuffix
|
2020-11-21 08:24:46 +00:00
|
|
|
devel:libSDL_1.2$secondaryArchSuffix
|
|
|
|
devel:libSDL_image_1.2$secondaryArchSuffix
|
|
|
|
devel:libSDL_mixer_1.2$secondaryArchSuffix
|
|
|
|
devel:libSDL_ttf_2.0$secondaryArchSuffix
|
2016-08-06 15:53:08 +00:00
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
|
|
cmd:aclocal
|
|
|
|
cmd:autoconf
|
|
|
|
cmd:cmake
|
|
|
|
cmd:gcc$secondaryArchSuffix
|
|
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
|
|
cmd:make
|
|
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
|
|
|
|
BUILD()
|
|
|
|
{
|
|
|
|
autoreconf -vfi
|
|
|
|
./configure --prefix=$appsDir/TuxTyping
|
|
|
|
make $jobArgs
|
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
mkdir -p $appsDir/TuxTyping
|
|
|
|
make install
|
|
|
|
|
|
|
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
|
|
|
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
|
|
|
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
|
|
|
sed \
|
|
|
|
-e "s|@MAJOR@|$MAJOR|" \
|
|
|
|
-e "s|@MIDDLE@|$MIDDLE|" \
|
|
|
|
-e "s|@MINOR@|$MINOR|" \
|
|
|
|
$portDir/additional-files/tuxtype2.rdef > tuxtype2.rdef
|
|
|
|
|
|
|
|
addResourcesToBinaries tuxtype2.rdef \
|
|
|
|
$appsDir/TuxTyping/bin/tuxtype2
|
|
|
|
|
|
|
|
mv $appsDir/TuxTyping/bin/tuxtype2 $appsDir/TuxTyping/TuxType2
|
|
|
|
rm -r $appsDir/TuxTyping/bin
|
|
|
|
addAppDeskbarSymlink $appsDir/TuxTyping/TuxType2
|
|
|
|
}
|