Makefile 927 B

1234567891011121314151617181920212223242526272829303132
  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.04
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= a383c7055a310e2a71b9ecd19cfea238
  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/package.mk
  18. $(eval $(call PKG_template,LIBLZO,liblzo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},$(PKG_OPTS)))
  19. CONFIGURE_ARGS+= --enable-static
  20. MAKE_FLAGS+= CFLAGS_O="${TARGET_CFLAGS}"
  21. liblzo-install:
  22. ${INSTALL_DIR} ${IDIR_LIBLZO}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/liblzo2.so* ${IDIR_LIBLZO}/usr/lib
  24. include ${TOPDIR}/mk/pkg-bottom.mk