sdl2_gfx: bump version and fix recipe.

This commit is contained in:
Jerome Duval
2015-11-28 11:52:33 +00:00
parent 575b9b64ce
commit 77cdb0f966

View File

@@ -5,32 +5,36 @@ basic drawing routines such as lines, circles or polygons and SDL_rotozoom \
which implemented a interpolating rotozoomer for SDL_surfaces. which implemented a interpolating rotozoomer for SDL_surfaces.
" "
HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/" HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"
SOURCE_URI="svn+svn://svn.code.sf.net/p/sdl2gfx/code/trunk" SOURCE_URI="http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-$portVersion.tar.gz"
#CHECKSUM_MD5="abc123" CHECKSUM_SHA256="d69bcbceb811b4e5712fbad3ede737166327f44b727f1388c32581dbbe8c599a"
LICENSE="Zlib" LICENSE="Zlib"
COPYRIGHT="1999-2012 A. Schiffler" COPYRIGHT="1999-2012 A. Schiffler"
REVISION="1" REVISION="1"
SOURCE_DIR="SDL2_gfx-$portVersion"
ARCHITECTURES="x86 x86_gcc2" ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES=" PROVIDES="
sdl2_gfx = $portVersion compat >= 2 sdl2_gfx = $portVersion compat >= 1
lib:libSDL2_gfx = 14.9.1 compat >= 14 lib:libsdl2_gfx_1.0 = 0.0.1 compat >= 0
" "
REQUIRES=" REQUIRES="
haiku 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=" BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl2 devel:libsdl2
" "
BUILD_PREREQUIRES=" BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:aclocal cmd:aclocal
cmd:autoconf cmd:autoconf
cmd:gcc${secondaryArchSuffix} cmd:gcc${secondaryArchSuffix}
@@ -41,20 +45,9 @@ BUILD_PREREQUIRES="
cmd:sdl2_config${secondaryArchSuffix} cmd:sdl2_config${secondaryArchSuffix}
" "
SOURCE_DIR="SDL2_gfx-$portVersion"
#BUILD_PACKAGE_ACTIVATION_PHASE = "TEST"
BUILD() BUILD()
{ {
./autogen.sh autoreconf -fi
rm aclocal.m4
libtoolize --force --copy --install
aclocal --force --install -I acinclude
aclocal -I acinclude
automake --foreign --include-deps --add-missing --copy
autoconf
autoreconf
runConfigure ./configure --disable-mmx runConfigure ./configure --disable-mmx
make make
} }
@@ -63,6 +56,9 @@ INSTALL()
{ {
make install make install
#remove libtool file
rm $libDir/*.la
prepareInstalledDevelLib libSDL2_gfx prepareInstalledDevelLib libSDL2_gfx
fixPkgconfig fixPkgconfig
@@ -70,18 +66,6 @@ INSTALL()
$developDir $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() TEST()
{ {
cd Test cd Test