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,16 +1,18 @@
SUMMARY="Simple Direct Media Layer Net Library"
DESCRIPTION="
SDL_net is a network library that works with the SDL. It has good network \
functionality as users are able to code on multiple platforms including \
Linux, Windows, and Haiku. SDL_net makes handling data transfer and network \
connections easy. It features a sample chat client and server application; \
the chat client uses the GUIlib GUI framework library."
SUMMARY="Simple Direct Media Layer net library"
DESCRIPTION="With sdl_net users are able to use the same networking code on \
multiple platforms including Linux, Windows, and Haiku. The library makes \
handling data transfer and network connections easy. It features a sample \
chat client and server application; the chat client uses the GUIlib GUI \
framework library."
HOMEPAGE="http://www.libsdl.org/projects/SDL_net"
COPYRIGHT="1997-2012 Sam Lantinga"
LICENSE="Zlib"
REVISION="5"
SOURCE_URI="http://www.libsdl.org/projects/SDL_net/release/SDL_net-1.2.8.tar.gz"
CHECKSUM_SHA256="5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4"
LICENSE="Zlib"
COPYRIGHT="1997-2012 Sam Lantinga"
REVISION="5"
SOURCE_DIR="SDL_net-$portVersion"
PATCHES="sdl_net-1.2.8.patch"
ARCHITECTURES="x86 x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -24,11 +26,21 @@ REQUIRES="
lib:libsdl$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
"
PROVIDES_devel="
sdl_net${secondaryArchSuffix}_devel = $portVersion compat >= 1.2
devel:libSDL_net$secondaryArchSuffix = 1.2_0.8.0 compat >= 0
devel:libSDL_net_1.2$secondaryArchSuffix = 0.8.0 compat >= 0
"
REQUIRES_devel="
sdl_net$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:aclocal
cmd:autoconf
cmd:gcc$secondaryArchSuffix
@@ -39,10 +51,6 @@ BUILD_PREREQUIRES="
cmd:sdl_config$secondaryArchSuffix
"
PATCHES="sdl_net-1.2.8.patch"
SOURCE_DIR="SDL_net-$portVersion"
BUILD()
{
libtoolize --force --copy --install
@@ -60,15 +68,5 @@ INSTALL()
prepareInstalledDevelLib libSDL_net-1.2
fixPkgconfig
packageEntries devel \
$developDir
packageEntries devel $developDir
}
PROVIDES_devel="
sdl_net${secondaryArchSuffix}_devel = $portVersion compat >= 1.2
devel:libSDL_net$secondaryArchSuffix = 1.2_0.8.0 compat >= 0
devel:libSDL_net_1.2$secondaryArchSuffix = 0.8.0 compat >= 0
"
REQUIRES_devel="
sdl_net$secondaryArchSuffix == $portVersion base
"