mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
Removed the full-stop and repeating package name in SUMMARY. Removed hard line breaks, broke up some very long paragraphs and use bullet lists where possible. All done by browsing through HaikuDepot. There may be (many) more left in the whole haikuports repo... Included 10 extended desriptions done by soyoye14 for GCI 2014 (https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632) Removed/insert whitespace where it seems to be the custom in recipes. Sometimes rearranged elements of a recipe (moving license and copyright up, for example).
75 lines
1.9 KiB
Plaintext
75 lines
1.9 KiB
Plaintext
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."
|
|
HOMEPAGE="http://www.libsdl.org/projects/SDL_net"
|
|
SRC_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"
|
|
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
sdl_net$secondaryArchSuffix = $portVersion
|
|
lib:libSDL_net$secondaryArchSuffix = 1.2_0.8.0 compat >= 1.2_0
|
|
lib:libSDL_net_1.2$secondaryArchSuffix = 0.8.0 compat >= 1.2
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libsdl$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
devel:libsdl$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:sdl_config$secondaryArchSuffix
|
|
"
|
|
|
|
PATCHES="sdl_net-1.2.8.patch"
|
|
|
|
SOURCE_DIR="SDL_net-$portVersion"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal --force --install -I acinclude
|
|
autoconf
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLib libSDL_net
|
|
prepareInstalledDevelLib libSDL_net-1.2
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
devel:sdl_net${secondaryArchSuffix} = $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
|
|
"
|