Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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_gfx
  5. PKG_VERSION:= 2.0.22
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 330f291f1f09a1bdf397c9b40d92ca41
  8. PKG_DESCR:= SDL GFX library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libsdl
  11. PKG_BUILDDEP:= sdl
  12. PKG_URL:= http://www.ferzkopp.net/joomla/content/view/19/14/
  13. PKG_SITES:= http://www.ferzkopp.net/Software/SDL_gfx-2.0/
  14. PKG_SUBPKGS:= LIBSDL_GFX LIBSDL_GFX_DEV
  15. PKGSD_LIBSDL_GFX_DEV:= development files for SDL_gfx
  16. PKGSC_LIBSDL_GFX_DEV:= devel
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,LIBSDL_GFX,libsdl-gfx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. $(eval $(call PKG_template,LIBSDL_GFX_DEV,libsdl-gfx-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBSDL_GFX_DEV},${PKGSC_LIBSDL_GFX_DEV}))
  20. CONFIGURE_ARGS+= --disable-mmx
  21. libsdl-gfx-install:
  22. $(INSTALL_DIR) $(IDIR_LIBSDL_GFX)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/libSDL_gfx.so* $(IDIR_LIBSDL_GFX)/usr/lib
  24. libsdl-gfx-dev-install:
  25. $(INSTALL_DIR) $(IDIR_LIBSDL_GFX_DEV)/usr/include
  26. $(CP) $(WRKINST)/usr/include/* $(IDIR_LIBSDL_GFX_DEV)/usr/include
  27. include ${TOPDIR}/mk/pkg-bottom.mk