summaryrefslogtreecommitdiff
path: root/package/SDL_gfx
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-09-28 13:33:58 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-09-28 13:33:58 +0200
commit2145476b2242aee80a3c0ddf83664d29a56c2733 (patch)
tree9233434a0311417fea8de5143fea3a99852b3de5 /package/SDL_gfx
parent3554d62e25729d9f7ef45bd1ad95fe62d34dc1c0 (diff)
parent13318ddbb68d4da204921d7cb31cdd4fecfdc148 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/SDL_gfx')
-rw-r--r--package/SDL_gfx/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/SDL_gfx/Makefile b/package/SDL_gfx/Makefile
index 4dea6018d..4d6183595 100644
--- a/package/SDL_gfx/Makefile
+++ b/package/SDL_gfx/Makefile
@@ -14,11 +14,14 @@ 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
+PKG_SUBPKGS:= LIBSDL_GFX LIBSDL_GFX_DEV
+PKGSD_LIBSDL_GFX_DEV:= development files for SDL_gfx
+PKGSC_LIBSDL_GFX_DEV:= devel
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBSDL_GFX,libsdl-gfx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBSDL_GFX_DEV,libsdl-gfx-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBSDL_GFX_DEV},${PKGSC_LIBSDL_GFX_DEV}))
CONFIGURE_ARGS+= --disable-mmx
@@ -26,4 +29,8 @@ libsdl-gfx-install:
$(INSTALL_DIR) $(IDIR_LIBSDL_GFX)/usr/lib
$(CP) $(WRKINST)/usr/lib/libSDL_gfx.so* $(IDIR_LIBSDL_GFX)/usr/lib
+libsdl-gfx-dev-install:
+ $(INSTALL_DIR) $(IDIR_LIBSDL_GFX_DEV)/usr/include
+ $(CP) $(WRKINST)/usr/include/* $(IDIR_LIBSDL_GFX_DEV)/usr/include
+
include ${TOPDIR}/mk/pkg-bottom.mk