ppc: add more cpu variants
[openadk.git] / package / liblzo / Makefile
blob0d148db73256a139690027b6e5dfe436782ffe5d
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
6 PKG_NAME:= lzo
7 PKG_VERSION:= 2.10
8 PKG_RELEASE:= 1
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/
14 PKG_LIBNAME:= liblzo
15 PKG_OPTS:= dev
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}"
27 liblzo-install:
28 ${INSTALL_DIR} ${IDIR_LIBLZO}/usr/lib
29 ${CP} ${WRKINST}/usr/lib/liblzo2.so* ${IDIR_LIBLZO}/usr/lib
31 include ${ADK_TOPDIR}/mk/host-bottom.mk
32 include ${ADK_TOPDIR}/mk/pkg-bottom.mk