sdljoytest, fix references to libSDL*, add manpage (#4107)

This commit is contained in:
Schrijvers Luc
2019-08-18 09:12:23 +02:00
committed by GitHub
parent 341daf67c3
commit 0cf7c7b8e7

View File

@@ -5,7 +5,7 @@ joystick or other game controller."
HOMEPAGE="http://sdljoytest.sourceforge.net"
COPYRIGHT="2003 Samuel E. Bray"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="http://downloads.sf.net/sdljoytest/SDLJoytest-GL-$portVersion.tar.bz2"
CHECKSUM_SHA256="306aa4b825ad880e71aac77d410f7a040ee6c1a372eb3d1db3301a8536a3c468"
SOURCE_DIR="SDLJoytest-GL"
@@ -18,18 +18,18 @@ PROVIDES="
"
REQUIRES="
haiku
lib:libgl
lib:libglu
lib:libsdl
lib:libsdl_image
lib:libGL
lib:libGLU
lib:libSDL_1.2
lib:libSDL_image_1.2
"
BUILD_REQUIRES="
haiku_devel
devel:libgl
devel:libglu
devel:libsdl
devel:libsdl_image
devel:libGL
devel:libGLU
devel:libSDL
devel:libSDL_image
"
BUILD_PREREQUIRES="
cmd:gcc
@@ -38,12 +38,12 @@ BUILD_PREREQUIRES="
BUILD()
{
sed -i 's/\-lpthread/ /' Makefile
make
}
INSTALL()
{
mkdir -p $binDir
mkdir -p $binDir $manDir/man1
cp SDLJoytest-GL $binDir
cp SDLJoytest.1 $manDir/man1
}