Makefile 849 B

12345678910111213141516171819202122232425262728
  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.03
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 0c3d078c2e8ea5a88971089a2f02a726
  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_SUBPKGS:= LIBLZO
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBLZO,liblzo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ARGS+= --enable-static
  16. MAKE_FLAGS+= CFLAGS_O="${TARGET_CFLAGS}"
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_LIBLZO}/usr/lib/
  19. ${CP} ${WRKINST}/usr/lib/liblzo2.so* ${IDIR_LIBLZO}/usr/lib
  20. include ${TOPDIR}/mk/pkg-bottom.mk