Initial .recipe files for libsdl2 and sdl2_ttf, not working yet, but libsdl2 builds

This commit is contained in:
Scott McCreary
2013-10-02 04:40:47 -07:00
parent 574085e273
commit 548c1faf89
6 changed files with 129 additions and 28 deletions

View File

@@ -0,0 +1,47 @@
SUMMARY="Simple Direct Media Layer Image Library"
DESCRIPTION="SDL"
HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf"
SRC_URI="http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.12.tar.gz"
CHECKSUM_MD5="79787216b56cb4707f39d538f2225e00"
REVISION="1"
LICENSE="Zlib"
COPYRIGHT="1997-2013 Sam Lantinga"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
lib:SDL2_ttf
"
REQUIRES="
lib:libsdl2
"
BUILD_REQUIRES="
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc
"
BUILD_PREREQUIRES="
"
SOURCE_DIR="SDL2_ttf-$portVersion"
BUILD()
{
# rm -f acinclude.m4
# libtoolize --copy --force --install
# aclocal --install -I acinclude
# echo "AC_CONFIG_MACRO_DIR([acinclude]) > configure.in"
# ./autogen.sh
runConfigure ./configure
make
}
INSTALL()
{
make install
}