Updated sdl_gfx to 2.0.24.

This commit is contained in:
Scott McCreary
2013-10-14 11:56:21 -07:00
parent d437f843f4
commit 5f55e99f0f

View File

@@ -0,0 +1,84 @@
SUMMARY="SDL_gfx - SDL graphics drawing primitives and other support functions"
DESCRIPTION="The SDL_gfx library evolved out of the SDL_gfxPrimitives code which provided basic drawing routines such as lines, circles or polygons and SDL_rotozoom which implemented a interpolating rotozoomer for SDL_surfaces."
HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"
SRC_URI="http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.24.tar.gz"
CHECKSUM_MD5="838514185ff9a3b6377760aaa52fef8a"
LICENSE="Zlib"
COPYRIGHT="1999-2012 A. Schiffler"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
sdl_gfx = $portVersion compat >= 2
lib:libSDL_gfx = 14.9.1 compat >= 14
"
REQUIRES="
haiku
libsdl
"
BUILD_REQUIRES="
devel:libsdl
"
BUILD_PREREQUIRES="
haiku_devel
cmd:aclocal
cmd:autoconf
cmd:gcc
cmd:ld
cmd:libtool
cmd:make
cmd:pkg_config
cmd:sdl_config
"
SOURCE_DIR="SDL_gfx-$portVersion"
#BUILD_PACKAGE_ACTIVATION_PHASE = "TEST"
BUILD()
{
./autogen.sh
libtoolize --force --copy --install
aclocal --force --install -I acinclude
autoconf
automake
runConfigure ./configure
make
}
INSTALL()
{
make install
prepareInstalledDevelLib libSDL_gfx
fixPkgconfig
packageEntries devel \
$developDir
}
PROVIDES_devel="
devel:SDL_gfx = 14.9.1 compat >= 0
devel:libSDL_gfx = 14.9.1 compat >= 0
devel:libSDL_gfx = $portVersion compat >= 2.0
devel:sdl_gfx = 14.9.1 compat >= 0
"
REQUIRES_devel="
sdl_gfx == $portVersion base
"
TEST()
{
cd Test
runConfigure ./configure
# fails to configure due to missing sdl_gfx
make
ls
}