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

@@ -11,7 +11,6 @@ ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
libsdl = $portVersion compat >= 1.2
cmd:sdl_config = portVersion compat >= 1.2
lib:libsdl = $portVersion compat >= 1.2
lib:libSDL = $portVersion compat >= 1.2
lib:libSDL_1.2 = 0.11.4 compat >= 0.11
@@ -58,13 +57,14 @@ INSTALL()
# devel package
prepareInstalledDevelLibs \
libSDL \
libSDL libSDL-1.2 \
libSDLmain
fixPkgconfig
fixDevelopLibDirReferences $binDir/sdl-config
packageEntries devel \
$developDir
$developDir $binDir/sdl-config
}
TEST()