diff --git a/games-misc/sdljoytest/sdljoytest-11102003.recipe b/games-misc/sdljoytest/sdljoytest-11102003.recipe index 7ede22f1f..00790833b 100644 --- a/games-misc/sdljoytest/sdljoytest-11102003.recipe +++ b/games-misc/sdljoytest/sdljoytest-11102003.recipe @@ -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" -SOURCE_URI="http://sourceforge.net/projects/sdljoytest/files/sdljoytest/SDLJoytest-GL/SDLJoytest-GL-11102003.tar.bz2/download" -CHECKSUM_MD5="bd80f7a1537dc0e17c9d524f0b29f5ee" +COPYRIGHT="2003 Samuel E. Bray" +LICENSE="GNU GPL v2" REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" +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() { - cd SDLJoytest-GL sed -i 's/\-lpthread/ /' Makefile make } INSTALL() { - cd SDLJoytest-GL - BINDIR=${DESTDIR}`finddir B_COMMON_BIN_DIRECTORY` - 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 + mkdir -p $binDir + cp SDLJoytest-GL $binDir } - -LICENSE="GNU GPL v2" -COPYRIGHT="2003 Samuel E. Bray"