summaryrefslogtreecommitdiff
path: root/package/liblzo/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-17 14:55:37 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-17 14:55:37 +0100
commit3cd4a03f27da57d2317c5b285cf8ad1990bcdac2 (patch)
tree2a09e93c07595459a8ac8c637d8126eddcb85cb4 /package/liblzo/Makefile
parent86534f8753b2dcac52f1ceb3bfc01ccca6697f80 (diff)
parent2f3dbff3a8283fd1307ec71b6e4d5c70e80f56dc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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