Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= lzo
  5. PKG_VERSION:= 2.06
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 95380bd4081f85ef08c5209f4107e9f8
  8. PKG_DESCR:= a real-time data compression library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.oberhumer.com/opensource/lzo
  11. PKG_SITES:= http://www.oberhumer.com/opensource/lzo/download/
  12. PKG_LIBNAME:= liblzo
  13. PKG_OPTS:= dev
  14. ifeq ($(ADK_STATIC),y)
  15. PKG_OPTS+= libonly
  16. endif
  17. include ${TOPDIR}/mk/host.mk
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call HOST_template,LIBLZO,liblzo,${PKG_VERSION}-${PKG_RELEASE}))
  20. $(eval $(call PKG_template,LIBLZO,liblzo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},$(PKG_OPTS)))
  21. HOST_STYLE:= auto
  22. CONFIGURE_ARGS+= --enable-static
  23. MAKE_FLAGS+= CFLAGS_O="${TARGET_CFLAGS}"
  24. liblzo-install:
  25. ${INSTALL_DIR} ${IDIR_LIBLZO}/usr/lib
  26. ${CP} ${WRKINST}/usr/lib/liblzo2.so* ${IDIR_LIBLZO}/usr/lib
  27. include ${TOPDIR}/mk/host-bottom.mk
  28. include ${TOPDIR}/mk/pkg-bottom.mk