mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Updated sdl_gfx to 2.0.24.
This commit is contained in:
84
media-libs/sdl_gfx/sdl_gfx-2.0.24.recipe
Normal file
84
media-libs/sdl_gfx/sdl_gfx-2.0.24.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user