summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-27 19:18:43 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-27 19:19:08 (GMT)
commit91b2dfeb734feb5b4966ace662b66e648e7bbee0 (patch)
treeaa233646d49251bb07f32d0990e551e09a739cad
parent5f82554ffe1e191a9bf932396658b7921843aeb5 (diff)
add host package
-rw-r--r--package/libjpeg-turbo/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/libjpeg-turbo/Makefile b/package/libjpeg-turbo/Makefile
index 3c9f803..b2ef34f 100644
--- a/package/libjpeg-turbo/Makefile
+++ b/package/libjpeg-turbo/Makefile
@@ -9,8 +9,8 @@ PKG_RELEASE:= 1
PKG_HASH:= d93ad8546b510244f863b39b4c0da0fa4c0d53a77b61a8a3880f258c232bbbee
PKG_DESCR:= jpeg image library
PKG_SECTION:= libs/image
-PKG_BUILDDEP_IBM_X40:= yasm-host
-PKG_BUILDDEP_QEMU_X86:= yasm-host
+PKG_BUILDDEP:= yasm-host
+HOST_BUILDDEP:= yasm-host
PKG_URL:= http://libjpeg-turbo.virtualgl.org/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libjpeg-turbo/}
PKG_OPTS:= dev
@@ -18,8 +18,10 @@ PKG_NOPARALLEL:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,LIBJPEG_TURBO,libjpeg-turbo,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBJPEG_TURBO,libjpeg-turbo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
TARGET_CFLAGS+= -fPIC
@@ -35,4 +37,5 @@ libjpeg-turbo-install:
$(CP) $(WRKINST)/usr/lib/lib{turbo,}jpeg*.so* \
$(IDIR_LIBJPEG_TURBO)/usr/lib
+include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk