mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
50 lines
984 B
Bash
50 lines
984 B
Bash
SUMMARY="Select all joysticks found on the system"
|
|
DESCRIPTION="SDLJoytest is a program which will allow the user to select \
|
|
from all joysticks found on the system (by SDL), and then test that selected \
|
|
joystick or other game controller."
|
|
HOMEPAGE="http://sdljoytest.sourceforge.net"
|
|
COPYRIGHT="2003 Samuel E. Bray"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="http://downloads.sf.net/sdljoytest/SDLJoytest-GL-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="306aa4b825ad880e71aac77d410f7a040ee6c1a372eb3d1db3301a8536a3c468"
|
|
SOURCE_DIR="SDLJoytest-GL"
|
|
|
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
|
|
|
PROVIDES="
|
|
sdljoytest = $portVersion
|
|
cmd:SDLJoytest_GL = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libgl
|
|
lib:libglu
|
|
lib:libsdl
|
|
lib:libsdl_image
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libgl
|
|
devel:libglu
|
|
devel:libsdl
|
|
devel:libsdl_image
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
sed -i 's/\-lpthread/ /' Makefile
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $binDir
|
|
cp SDLJoytest-GL $binDir
|
|
}
|