diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-21 17:20:24 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-21 17:20:24 +0200 |
commit | 90d5c8b73e8d538e121275b12e714332ca785cff (patch) | |
tree | b70121e4732d658097d1db00c8af381629ec82eb /package/SDL_gfx/Makefile | |
parent | 33dd541790614765228a71477e1f8b2b6aa21ce1 (diff) |
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/SDL_gfx/Makefile')
-rw-r--r-- | package/SDL_gfx/Makefile | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/package/SDL_gfx/Makefile b/package/SDL_gfx/Makefile index 756d9d001..b0e114ef0 100644 --- a/package/SDL_gfx/Makefile +++ b/package/SDL_gfx/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= SDL_gfx PKG_VERSION:= 2.0.22 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 330f291f1f09a1bdf397c9b40d92ca41 PKG_DESCR:= SDL GFX library PKG_SECTION:= libs @@ -13,17 +13,14 @@ 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_LIBNAME:= libsdl-gfx +PKG_OPTS:= dev PKG_ARCH_DEPENDS:= !m68k -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})) +$(eval $(call PKG_template,LIBSDL_GFX,libsdl-gfx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) CONFIGURE_ARGS+= --disable-mmx @@ -31,8 +28,4 @@ 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 |