Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= SDL_ttf
  5. PKG_VERSION:= 2.0.10
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 814e6e17e8879254208d23b3b7e0354b
  8. PKG_DESCR:= TrueType fonts in your SDL applications
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libsdl libfreetype
  11. PKG_BUILDDEP:= sdl freetype
  12. PKG_URL:= http://www.libsdl.org/projects/SDL_ttf/
  13. PKG_SITES:= http://www.libsdl.org/projects/SDL_ttf/release/
  14. PKG_SUBPKGS:= LIBSDL_TTF LIBSDL_TTF_DEV
  15. PKGSD_LIBSDL_TTF_DEV:= development files
  16. PKGSC_LIBSDL_TTF_DEV:= devel
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,LIBSDL_TTF,libsdl-ttf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. $(eval $(call PKG_template,LIBSDL_TTF_DEV,libsdl-ttf-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBSDL_TTF_DEV},${PKGSC_LIBSDL_TTF_DEV}))
  20. libsdl-ttf-install:
  21. $(INSTALL_DIR) $(IDIR_LIBSDL_TTF)/usr/lib
  22. $(CP) $(WRKINST)/usr/lib/libSDL_ttf*so* $(IDIR_LIBSDL_TTF)/usr/lib
  23. libsdl-ttf-dev-install:
  24. $(INSTALL_DIR) $(IDIR_LIBSDL_TTF_DEV)/usr/include
  25. $(CP) $(WRKINST)/usr/include/* $(IDIR_LIBSDL_TTF_DEV)/usr/include
  26. include ${TOPDIR}/mk/pkg-bottom.mk