mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
sdl2_gfx: bump version and fix recipe.
This commit is contained in:
@@ -5,32 +5,36 @@ 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/"
|
||||
SOURCE_URI="svn+svn://svn.code.sf.net/p/sdl2gfx/code/trunk"
|
||||
#CHECKSUM_MD5="abc123"
|
||||
|
||||
SOURCE_URI="http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="d69bcbceb811b4e5712fbad3ede737166327f44b727f1388c32581dbbe8c599a"
|
||||
LICENSE="Zlib"
|
||||
COPYRIGHT="1999-2012 A. Schiffler"
|
||||
|
||||
REVISION="1"
|
||||
SOURCE_DIR="SDL2_gfx-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
sdl2_gfx = $portVersion compat >= 2
|
||||
lib:libSDL2_gfx = 14.9.1 compat >= 14
|
||||
sdl2_gfx = $portVersion compat >= 1
|
||||
lib:libsdl2_gfx_1.0 = 0.0.1 compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
libsdl2
|
||||
lib:libsdl2
|
||||
lib:libgl
|
||||
"
|
||||
PROVIDES_devel="
|
||||
sdl2_gfx_devel = $portVersion compat >= 1
|
||||
devel:libsdl2_gfx
|
||||
"
|
||||
REQUIRES_devel="
|
||||
sdl2_gfx == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libsdl2
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:gcc${secondaryArchSuffix}
|
||||
@@ -41,20 +45,9 @@ BUILD_PREREQUIRES="
|
||||
cmd:sdl2_config${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
SOURCE_DIR="SDL2_gfx-$portVersion"
|
||||
|
||||
#BUILD_PACKAGE_ACTIVATION_PHASE = "TEST"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./autogen.sh
|
||||
rm aclocal.m4
|
||||
libtoolize --force --copy --install
|
||||
aclocal --force --install -I acinclude
|
||||
aclocal -I acinclude
|
||||
automake --foreign --include-deps --add-missing --copy
|
||||
autoconf
|
||||
autoreconf
|
||||
autoreconf -fi
|
||||
runConfigure ./configure --disable-mmx
|
||||
make
|
||||
}
|
||||
@@ -63,6 +56,9 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
#remove libtool file
|
||||
rm $libDir/*.la
|
||||
|
||||
prepareInstalledDevelLib libSDL2_gfx
|
||||
fixPkgconfig
|
||||
|
||||
@@ -70,18 +66,6 @@ INSTALL()
|
||||
$developDir
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
devel:SDL2_gfx = 14.9.1 compat >= 0
|
||||
devel:libSDL2_gfx = 14.9.1 compat >= 0
|
||||
devel:libSDL2_gfx = $portVersion compat >= 2.0
|
||||
devel:sdl2_gfx = 14.9.1 compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
sdl2_gfx == $portVersion base
|
||||
"
|
||||
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd Test
|
||||
Reference in New Issue
Block a user