summaryrefslogtreecommitdiff
path: root/package/SDL_gfx/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-09-15 18:51:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-09-15 18:51:51 +0200
commitf83548e0f3b68a10f5396e952d0e35afb799ddf3 (patch)
treec8e345c4876245bb20e576430837cf4799013d30 /package/SDL_gfx/Makefile
parent42dd9bd2011b230d4cd55eb41c3f91e74e9a4c95 (diff)
add new SDL libraries
Diffstat (limited to 'package/SDL_gfx/Makefile')
-rw-r--r--package/SDL_gfx/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/SDL_gfx/Makefile b/package/SDL_gfx/Makefile
new file mode 100644
index 000000000..4dea6018d
--- /dev/null
+++ b/package/SDL_gfx/Makefile
@@ -0,0 +1,29 @@
+# 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_gfx
+PKG_VERSION:= 2.0.22
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 330f291f1f09a1bdf397c9b40d92ca41
+PKG_DESCR:= SDL GFX library
+PKG_SECTION:= libs
+PKG_DEPENDS:= libsdl
+PKG_BUILDDEP:= sdl
+PKG_URL:= http://www.ferzkopp.net/joomla/content/view/19/14/
+PKG_SITES:= http://www.ferzkopp.net/Software/SDL_gfx-2.0/
+
+PKG_SUBPKGS:= LIBSDL_GFX
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBSDL_GFX,libsdl-gfx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_ARGS+= --disable-mmx
+
+libsdl-gfx-install:
+ $(INSTALL_DIR) $(IDIR_LIBSDL_GFX)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libSDL_gfx.so* $(IDIR_LIBSDL_GFX)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk