WIP recipe for tuxpaint

This commit is contained in:
Scott McCreary
2013-10-21 23:22:23 +00:00
parent 38bc9e1408
commit e9dce4a4f5

View File

@@ -1,35 +1,69 @@
SUMMARY="tuxpaint - Drawing program designed for young children"
DESCRIPTION="tuxpaint - Drawing program designed for young children"
HOMEPAGE="http://www.tuxpaint.org/"
SRC_URI="cvs://:pserver:anonymous@tuxpaint.cvs.sourceforge.net:/cvsroot/tuxpaint/tuxpaint"
#SRC_URI="cvs://:pserver:anonymous@tuxpaint.cvs.sourceforge.net:/cvsroot/tuxpaint/tuxpaint"
SRC_URI="http://ports-space.haiku-files.org/source/tuxpaint-snapshot-2013-10-21.zip"
CHECKSUM_MD5="7cc753e19b47aea8533343ae258ca76d"
COPYRIGHT="2002-2010 Bill Kendrick and others"
LICENSE="GNU GPL v2"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="media-libs/libsdl >= 1.2.14
media-libs/sdl-ttf >= 2.0.9
media-libs/sdl-image > 1.2.10
dev-libs/fribidi >= 0.19.2
app-text/libpaper >= 1.1.23
media-libs/libpng >= 1.2
media-libs/freetype >= 2.3.11
media-libs/sdl-mixer >= 1.2.11
dev-util/pkgconfig >= 0.23
sys-devel/gettext >= 0.17
dev-utils/gperf >= 3.0.4"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
tuxpaint = $portVersion compat >= 0
# cmd:tuxpaint
"
SOURCE_DIR="tuxpaint"
REQUIRES="
haiku
lib:libpaper
lib:libsdl
lib:sdl_ttf
lib:sdl_image
lib:sdl_mixer
lib:fribidi
lib:freetype
lib:gettext
lib:libpng
"
BUILD_REQUIRES="
devel:libsdl
# devel:libpaper
devel:sdl_ttf
devel:sdl_image
# devel:sdl_mixer
# devel:fribidi
# devel:freetype
# devel:gettext
devel:libpng
"
BUILD_PREREQUIRES="
haiku_devel
cmd:make
cmd:gcc
cmd:gperf
"
BUILD()
{
cd tuxpaint-0.9.2x-cvs
if [ ! -f /boot/common/lib/libstdc++.so ]
then
ln -s /boot/system/lib/libstdc++.r4.so /boot/common/lib/libstdc++.so
fi
# cd tuxpaint-0.9.2x-cvs
# if [ ! -f /boot/common/lib/libstdc++.so ]
# then
# ln -s /boot/system/lib/libstdc++.r4.so /boot/common/lib/libstdc++.so
# fi
make
}
INSTALL()
{
cd tuxpaint-0.9.2x-cvs
make install DESTDIR=${DESTDIR}
# cd tuxpaint-0.9.2x-cvs
make install
#DESTDIR=${DESTDIR}
}
COPYRIGHT="2002-2010 by Bill Kendrick and others"
LICENSE="GNU GPL v2"