summaryrefslogtreecommitdiff
path: root/package/SDL_ttf
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-12 21:10:52 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-12 21:10:52 +0200
commit681a668edf704bbb000a49c835b3d71fa7035d86 (patch)
tree27df7d51e37260f63812466b31369c1a144cdc45 /package/SDL_ttf
parent2d1f73d4334593134d3a47704a2614ffcae384ae (diff)
parent6c2bc15eb5c40548f6a98c37ab0b825b9c163343 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/SDL_ttf')
-rw-r--r--package/SDL_ttf/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/package/SDL_ttf/Makefile b/package/SDL_ttf/Makefile
new file mode 100644
index 000000000..0afba1946
--- /dev/null
+++ b/package/SDL_ttf/Makefile
@@ -0,0 +1,37 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= SDL_ttf
+PKG_VERSION:= 2.0.10
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 814e6e17e8879254208d23b3b7e0354b
+PKG_DESCR:= TrueType fonts in your SDL applications
+PKG_SECTION:= libs
+PKG_DEPENDS:= libsdl libfreetype
+PKG_BUILDDEP:= sdl freetype
+PKG_URL:= http://www.libsdl.org/projects/SDL_ttf/
+PKG_SITES:= http://www.libsdl.org/projects/SDL_ttf/release/
+
+PKG_SUBPKGS:= LIBSDL_TTF LIBSDL_TTF_DEV
+PKGSD_LIBSDL_TTF_DEV:= development files
+PKGSC_LIBSDL_TTF_DEV:= devel
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBSDL_TTF,libsdl-ttf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBSDL_TTF_DEV,libsdl-ttf-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBSDL_TTF_DEV},${PKGSC_LIBSDL_TTF_DEV}))
+
+libsdl-ttf-install:
+ $(INSTALL_DIR) $(IDIR_LIBSDL_TTF)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libSDL_ttf*so* $(IDIR_LIBSDL_TTF)/usr/lib
+
+libsdl-ttf-dev-install:
+ $(INSTALL_DIR) $(IDIR_LIBSDL_TTF_DEV)/usr/include
+ $(CP) $(WRKINST)/usr/include/* $(IDIR_LIBSDL_TTF_DEV)/usr/include
+ $(INSTALL_DIR) $(IDIR_LIBSDL_TTF_DEV)/usr/lib/pkgconfig
+ $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
+ $(IDIR_LIBSDL_TTF_DEV)/usr/lib/pkgconfig
+
+include ${TOPDIR}/mk/pkg-bottom.mk