mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
* convert all .bep files to follow shell syntax
* rename all .bep files to .recipe
This commit is contained in:
104
media-libs/libsdl/libsdl-1.2.15.recipe
Normal file
104
media-libs/libsdl/libsdl-1.2.15.recipe
Normal file
@@ -0,0 +1,104 @@
|
||||
DESCRIPTION="Simple Direct Media Layer"
|
||||
HOMEPAGE="http://www.libsdl.org/"
|
||||
SRC_URI="http://www.libsdl.org/release/SDL-1.2.15.tar.gz"
|
||||
CHECKSUM_MD5="9d96df8417572a2afb781a7c4c811a85"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd SDL-1.2.15
|
||||
./autogen.sh
|
||||
rm aclocal.m4
|
||||
echo "AC_CONFIG_MACRO_DIR([acinclude])" >> configure.in
|
||||
libtoolize -fci
|
||||
aclocal -I acinclude
|
||||
./autogen.sh
|
||||
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
||||
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--datarootdir=`finddir B_COMMON_DATA_DIRECTORY` \
|
||||
--libdir=$LIBDIR \
|
||||
--mandir=$MANDIR
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd SDL-1.2.15
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd SDL-1.2.15/test
|
||||
./configure
|
||||
make
|
||||
echo testvidoinfo
|
||||
testvidinfo
|
||||
echo testgl
|
||||
testgl
|
||||
echo testwm
|
||||
testwm
|
||||
echo testhread
|
||||
testhread
|
||||
echo testsprite
|
||||
testsprite
|
||||
echo testdyngl
|
||||
testdyngl
|
||||
echo testoverlay
|
||||
testoverlay
|
||||
echo testoverlay2
|
||||
testoverlay2
|
||||
echo threadwin
|
||||
threadwin
|
||||
echo testalpha
|
||||
testalpha
|
||||
echo testiconv
|
||||
testiconv
|
||||
echo testtimer
|
||||
testtimer
|
||||
echo graywin
|
||||
graywin
|
||||
echo testerror
|
||||
testerror
|
||||
echo torturethread
|
||||
torturethread
|
||||
echo testbitmap
|
||||
testbitmap
|
||||
echo testjoystick
|
||||
testjoystick
|
||||
echo testver
|
||||
testver
|
||||
echo testfile
|
||||
testfile
|
||||
echo testpalette
|
||||
testpalette
|
||||
echo loopwave
|
||||
loopwave
|
||||
echo testblitspeed
|
||||
testblitspeed
|
||||
echo testkeys
|
||||
testkeys
|
||||
echo testcursor
|
||||
testcursor
|
||||
echo checkkeys
|
||||
checkkeys
|
||||
echo testgamma
|
||||
testgamma
|
||||
echo testplatform
|
||||
testplatform
|
||||
echo testcdrom
|
||||
testcdrom
|
||||
echo testloadso
|
||||
testloadso
|
||||
echo testwim
|
||||
testwin
|
||||
echo testsem
|
||||
testsem
|
||||
echo testlock
|
||||
testlock
|
||||
}
|
||||
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="1997-2012 Sam Lantinga"
|
||||
Reference in New Issue
Block a user