summaryrefslogtreecommitdiff
path: root/libsdl/libsdl-ttf_2.0.3.oe
diff options
context:
space:
mode:
Diffstat (limited to 'libsdl/libsdl-ttf_2.0.3.oe')
-rw-r--r--libsdl/libsdl-ttf_2.0.3.oe17
1 files changed, 17 insertions, 0 deletions
diff --git a/libsdl/libsdl-ttf_2.0.3.oe b/libsdl/libsdl-ttf_2.0.3.oe
index e69de29bb2..b80519a206 100644
--- a/libsdl/libsdl-ttf_2.0.3.oe
+++ b/libsdl/libsdl-ttf_2.0.3.oe
@@ -0,0 +1,17 @@
+SECTION="NET"
+PRIORITY="optional"
+MAINTAINER="Michael Lauer <mickey@Vanille.de>"
+RDEPENDS=libc6 libsdl freetype
+DEPENDS=virtual/libc base/libsdl base/freetype
+
+SRC_URI = http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \
+ file://${FILESDIR}/new-freetype-includes.patch;patch=1
+S = ${WORKDIR}/SDL_ttf-${PV}
+
+inherit autotools libtool
+
+do_stage() {
+ oe_soinstall .libs/libSDL_ttf-2.0.so.0.0.3 ${STAGING_LIBDIR}
+ install -m 0644 SDL_ttf.h ${STAGING_INCDIR}/SDL/SDL_ttf.h
+}
+