mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
Initial bep and patch for visualboyadvance, from GCI2012 student Freeman2430
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
diff -Naur VisualBoyAdvance-1.7.2/configure.in VisualBoyAdvance-1.7.2-haiku/configure.in
|
||||||
|
--- VisualBoyAdvance-1.7.2/configure.in 2004-05-13 21:38:35.039583744 +0000
|
||||||
|
+++ VisualBoyAdvance-1.7.2-haiku/configure.in 2010-05-01 03:37:15.941621248 +0000
|
||||||
|
@@ -66,6 +66,7 @@
|
||||||
|
AC_CHECK_LIB(png, png_create_write_struct,
|
||||||
|
, AC_MSG_ERROR([*** Cannot compile without libpng.]), [-lz])
|
||||||
|
AC_CHECK_LIB(pthread, pthread_yield)
|
||||||
|
+AC_CHECK_LIB(network, socket)
|
||||||
|
|
||||||
|
dnl Checks for header files.
|
||||||
|
AC_PATH_X
|
||||||
29
games-emulation/visualboyadvance/visualboyadvance-1.7.2.bep
Normal file
29
games-emulation/visualboyadvance/visualboyadvance-1.7.2.bep
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
DESCRIPTION="VisualBoyAdvance"
|
||||||
|
HOMEPAGE="http://vba.ngemu.com"
|
||||||
|
SRC_URI="http://sourceforge.net/projects/vba/files/VisualBoyAdvance/1.7.2/VisualBoyAdvance-src-1.7.2.tar.gz"
|
||||||
|
MESSAGE="This port only builds with GCC4"
|
||||||
|
CHECKSUM_MD5="cc02339e3fd8efd9f23121b0a2f81fd8"
|
||||||
|
REVISION="1"
|
||||||
|
STATUS_HAIKU="stable"
|
||||||
|
DEPEND="dev-lang/nasm >= 2.03.01
|
||||||
|
media-libs/libsdl >= 1.2.14
|
||||||
|
media-libs/sdl-mixer >= 1.2.11"
|
||||||
|
|
||||||
|
|
||||||
|
BUILD {
|
||||||
|
cd VisualBoyAdvance-1.7.2
|
||||||
|
libtoolize --force --copy --install
|
||||||
|
autoreconf -i
|
||||||
|
./configure --prefix=`finddir B_COMMON_DIRECTORY` --enable-c-core --disable-profiling --without-mmx
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL {
|
||||||
|
cd VisualBoyAdvance-1.7.2/src
|
||||||
|
GAMEDIR=`finddir B_APPS_DIRECTORY`/Visualboyadvance
|
||||||
|
mkdir -p ${DESTDIR}/${GAMEDIR}
|
||||||
|
cp -af VisualBoyAdvance.cfg ${DESTDIR}/${GAMEDIR}
|
||||||
|
cd sdl
|
||||||
|
cp -af TestEmu ${DESTDIR}/${GAMEDIR}
|
||||||
|
cp -af VisualBoyAdvance ${DESTDIR}/${GAMEDIR}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user