summaryrefslogtreecommitdiff
path: root/package/liblzo/Makefile
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/liblzo/Makefile
parent3a26d8a1629c063d336d61e0fcf622056499204e (diff)
fix xbmc build, use swig and sdl host, add CEC,NFS, SSH and Samba support
Diffstat (limited to 'package/liblzo/Makefile')
-rw-r--r--package/liblzo/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/package/liblzo/Makefile b/package/liblzo/Makefile
index 37955a774..3f79d0317 100644
--- a/package/liblzo/Makefile
+++ b/package/liblzo/Makefile
@@ -4,11 +4,12 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= lzo
-PKG_VERSION:= 2.04
-PKG_RELEASE:= 2
-PKG_MD5SUM:= a383c7055a310e2a71b9ecd19cfea238
+PKG_VERSION:= 2.06
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 95380bd4081f85ef08c5209f4107e9f8
PKG_DESCR:= a real-time data compression library
PKG_SECTION:= libs
+PKG_BUILDDEP:= liblzo-host
PKG_URL:= http://www.oberhumer.com/opensource/lzo
PKG_SITES:= http://www.oberhumer.com/opensource/lzo/download/
PKG_LIBNAME:= liblzo
@@ -18,10 +19,13 @@ ifeq ($(ADK_STATIC),y)
PKG_OPTS+= libonly
endif
+include ${TOPDIR}/mk/host.mk
include ${TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,LIBLZO,liblzo,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBLZO,liblzo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},$(PKG_OPTS)))
+HOST_STYLE:= auto
CONFIGURE_ARGS+= --enable-static
MAKE_FLAGS+= CFLAGS_O="${TARGET_CFLAGS}"
@@ -29,4 +33,5 @@ liblzo-install:
${INSTALL_DIR} ${IDIR_LIBLZO}/usr/lib
${CP} ${WRKINST}/usr/lib/liblzo2.so* ${IDIR_LIBLZO}/usr/lib
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk