Fix the recipes for SDL, SDL-image and SDL-ttf

* sdl-config return the right path for --lib
 * fix dependencies, provides, and more policy warnings.
This commit is contained in:
Adrien Destugues
2013-10-02 21:09:04 +02:00
parent 3166a9f673
commit d7f7105b2a
3 changed files with 51 additions and 18 deletions

View File

@@ -10,12 +10,15 @@ COPYRIGHT="1997-2012 Sam Lantinga"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
lib:sdl_image = $portVersion compat >= 1.2
sdl_image =$portVersion
lib:libSDL_image_1.2 = $portVersion compat >= 1.2
devel:libSDL_image = $portVersion compat >= 1.2
"
REQUIRES="
haiku
libsdl
lib:libjpeg
"
BUILD_REQUIRES="
@@ -56,4 +59,7 @@ BUILD()
INSTALL()
{
make install
fixPkgconfig
prepareInstalledDevelLib libSDL_image
}