Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SUMMARY="Simple Direct Media Layer"
- DESCRIPTION="SDL is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D"
- HOMEPAGE="http://www.libsdl.org/"
- COPYRIGHT="1997-2012 Sam Lantinga"
- LICENSE="Zlib"
- SRC_URI="http://www.libsdl.org/release/SDL2-2.0.0.tar.gz"
- CHECKSUM_MD5="beec89afb6edcc6f0abc4114f2e6bcf7"
- REVISION="1"
- ARCHITECTURES="x86_gcc2 x86"
- SECONDARY_ARCHITECTURES="x86_gcc2 x86"
- PATCHES="libsdl-2.0.0.patch"
- PROVIDES="
- lib:libsdl2$secondaryArchSuffix = $portVersion compat >= 2
- "
- REQUIRES="
- haiku >= $haikuVersion
- "
- BUILD_PREREQUIRES="
- haiku${secondaryArchSuffix}_devel >= $haikuVersion
- cmd:gcc$secondaryArchSuffix
- cmd:grep
- cmd:ld$secondaryArchSuffix
- cmd:make
- cmd:sed
- "
- SOURCE_DIR="SDL2-$portVersion"
- BUILD()
- {
- ./configure --prefix="$prefix" --libdir="$libDir" --mandir="$manDir" \
- --datadir="$dataDir" --enable-shared
- make $jobArgs
- }
- INSTALL()
- {
- make install
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement