mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-01 12:38:51 +02:00
Merge pull request #573 from Begasus/sdljoytest
sdljoytest, update the recipe to use haikuporter
This commit is contained in:
@@ -1,28 +1,49 @@
|
|||||||
DESCRIPTION="Simple Direct Media Layer"
|
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"
|
HOMEPAGE="http://sdljoytest.sourceforge.net"
|
||||||
SOURCE_URI="http://sourceforge.net/projects/sdljoytest/files/sdljoytest/SDLJoytest-GL/SDLJoytest-GL-11102003.tar.bz2/download"
|
COPYRIGHT="2003 Samuel E. Bray"
|
||||||
CHECKSUM_MD5="bd80f7a1537dc0e17c9d524f0b29f5ee"
|
LICENSE="GNU GPL v2"
|
||||||
REVISION="1"
|
REVISION="1"
|
||||||
STATUS_HAIKU="stable"
|
SOURCE_URI="http://downloads.sf.net/sdljoytest/SDLJoytest-GL-$portVersion.tar.bz2"
|
||||||
DEPEND=""
|
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()
|
BUILD()
|
||||||
{
|
{
|
||||||
cd SDLJoytest-GL
|
|
||||||
sed -i 's/\-lpthread/ /' Makefile
|
sed -i 's/\-lpthread/ /' Makefile
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
cd SDLJoytest-GL
|
mkdir -p $binDir
|
||||||
BINDIR=${DESTDIR}`finddir B_COMMON_BIN_DIRECTORY`
|
cp SDLJoytest-GL $binDir
|
||||||
MANDIR=${DESTDIR}`finddir B_COMMON_DATA_DIRECTORY`/man/man1
|
|
||||||
mkdir -p ${BINDIR}
|
|
||||||
mkdir -p ${MANDIR}
|
|
||||||
cp SDLJoytest-GL ${BINDIR}
|
|
||||||
cp SDLJoytest.1 ${DESTDIR}`finddir B_COMMON_DATA_DIRECTORY`/man/man1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
LICENSE="GNU GPL v2"
|
|
||||||
COPYRIGHT="2003 Samuel E. Bray"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user