1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072
10 PKG_DESCR
:= real-time data compression library
11 PKG_SECTION
:= libs
/comp
12 PKG_URL
:= http
://www.oberhumer.com
/opensource
/lzo
13 PKG_SITES
:= http
://www.oberhumer.com
/opensource
/lzo
/download
/
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
19 include ${ADK_TOPDIR}/mk
/host.mk
20 include ${ADK_TOPDIR}/mk
/package.mk
22 $(eval
$(call HOST_template
,LIBLZO
,liblzo
,${PKG_VERSION}-${PKG_RELEASE}))
23 $(eval
$(call PKG_template
,LIBLZO
,liblzo
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},$(PKG_OPTS
)))
25 MAKE_FLAGS
+= CFLAGS_O
="${TARGET_CFLAGS}"
26 HOST_CONFIGURE_ARGS
+= --enable-shared
29 ${INSTALL_DIR} ${IDIR_LIBLZO}/usr
/lib
30 ${CP} ${WRKINST}/usr
/lib
/liblzo2.so
* ${IDIR_LIBLZO}/usr
/lib
32 include ${ADK_TOPDIR}/mk
/host-bottom.mk
33 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk