summaryrefslogtreecommitdiff
path: root/package/SDL_ttf
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-09-21 11:21:43 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-09-21 11:21:43 +0200
commit4ae49cfd28db49f1d199ea50fd83239a42721a0c (patch)
treebbdfb10766941787a3dea9820fbb58c940bba432 /package/SDL_ttf
parentf2984000823abd21a4c5a157a08ec28a3ddf0a4a (diff)
add devel subpackage
Diffstat (limited to 'package/SDL_ttf')
-rw-r--r--package/SDL_ttf/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/SDL_ttf/Makefile b/package/SDL_ttf/Makefile
index a76e49897..020a53502 100644
--- a/package/SDL_ttf/Makefile
+++ b/package/SDL_ttf/Makefile
@@ -14,14 +14,21 @@ 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
+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
+
include ${TOPDIR}/mk/pkg-bottom.mk