Recipe cosmetics: improved SUMMARY/DESCRIPTION and re-ordered blocks.

This commit is contained in:
Humdinger
2015-08-31 17:16:33 +02:00
parent e9901f64b8
commit ae698c8c3b
15 changed files with 265 additions and 309 deletions

View File

@@ -1,14 +1,13 @@
SUMMARY="Library that handles decoding of several popular sound file formats"
DESCRIPTION="
sdl-sound is a library that handles the decoding of several popular file \
formats, such as .WAV and .MP3. It is meant to make the programmer's sound \
playback tasks simpler.
"
SUMMARY="Simple Direct Media Layer sound library"
DESCRIPTION="sdl_sound handles the decoding of several popular file \
formats, such as .WAV and .MP3. It aims to make the programmer's sound \
playback tasks simpler."
HOMEPAGE="http://www.icculus.org/SDL_sound"
SOURCE_URI="hg+http://hg.icculus.org/icculus/SDL_sound#release-1.0.3"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2001-2009 Ryan C. Gordon"
LICENSE="GNU LGPL v2.1"
REVISION="4"
SOURCE_URI="hg+http://hg.icculus.org/icculus/SDL_sound#release-1.0.3"
SOURCE_DIR="SDL_sound-$portVersion"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -20,7 +19,6 @@ PROVIDES="
lib:libSDL_sound$secondaryArchSuffix = 1.0_0.8.0 compat >= 1.0_0
lib:libSDL_sound_1.0$secondaryArchSuffix = 0.8.0 compat >= 1.0
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
@@ -37,6 +35,16 @@ REQUIRES="
lib:libGL$secondaryArchSuffix
"
PROVIDES_devel="
sdl_sound${secondaryArchSuffix}_devel = $portVersion compat >= 1.0
devel:SDL_sound$secondaryArchSuffix = 0.8.0 compat >= 0
devel:libSDL_sound$secondaryArchSuffix = 1.0_0.8.0 compat >= 1.0_0
devel:libSDL_sound_1.0$secondaryArchSuffix = 0.8.0 compat >= 0
"
REQUIRES_devel="
sdl_sound$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl$secondaryArchSuffix
@@ -49,7 +57,6 @@ BUILD_REQUIRES="
# devel:smpeg$secondaryArchSuffix
# devel:physfs$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
@@ -61,8 +68,6 @@ BUILD_PREREQUIRES="
cmd:sdl_config$secondaryArchSuffix
"
SOURCE_DIR="SDL_sound-$portVersion"
BUILD()
{
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
@@ -88,14 +93,3 @@ INSTALL()
packageEntries devel \
$developDir
}
PROVIDES_devel="
sdl_sound${secondaryArchSuffix}_devel = $portVersion compat >= 1.0
devel:SDL_sound$secondaryArchSuffix = 0.8.0 compat >= 0
devel:libSDL_sound$secondaryArchSuffix = 1.0_0.8.0 compat >= 1.0_0
devel:libSDL_sound_1.0$secondaryArchSuffix = 0.8.0 compat >= 0
"
REQUIRES_devel="
sdl_sound$secondaryArchSuffix == $portVersion base
"