summaryrefslogtreecommitdiff
path: root/package/sdl-image
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-16 10:54:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-16 10:54:03 +0100
commit469b35af91f6b8123943bab064ecf362e28bc438 (patch)
treea0d84be7d01cd656987e1deb7e032830682d3263 /package/sdl-image
parent3a26d8a1629c063d336d61e0fcf622056499204e (diff)
fix xbmc build, use swig and sdl host, add CEC,NFS, SSH and Samba support
Diffstat (limited to 'package/sdl-image')
-rw-r--r--package/sdl-image/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/sdl-image/Makefile b/package/sdl-image/Makefile
index 7aa1d1930..3f5e2b06d 100644
--- a/package/sdl-image/Makefile
+++ b/package/sdl-image/Makefile
@@ -10,7 +10,7 @@ PKG_MD5SUM:= 6c06584b31559e2b59f2b982d0d1f628
PKG_DESCR:= Simple DirectMedia Layer
PKG_SECTION:= libs
PKG_DEPENDS:= libpng libtiff libjpeg libsdl
-PKG_BUILDDEP:= libpng libtiff jpeg sdl
+PKG_BUILDDEP:= sdl-image-host libpng libtiff jpeg sdl
PKG_URL:= http://www.libsdl.org/
PKG_SITES:= http://www.libsdl.org/projects/SDL_image/release/
PKG_NEED_CXX:= 1
@@ -20,10 +20,13 @@ PKG_OPTS:= dev
DISTFILES:= SDL_image-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/SDL_image-${PKG_VERSION}
+include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,LIBSDL_IMAGE,libsdl-image,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBSDL_IMAGE,libsdl-image,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+HOST_STYLE:= auto
CONFIGURE_ARGS+= --enable-png \
--enable-jpg \
--enable-bmp \
@@ -33,4 +36,5 @@ libsdl-image-install:
$(INSTALL_DIR) $(IDIR_LIBSDL_IMAGE)/usr/lib
$(CP) ${WRKINST}/usr/lib/libSDL*.so* $(IDIR_LIBSDL_IMAGE)/usr/lib
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk