1
0

Makefile 891 B

1234567891011121314151617181920212223242526272829
  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. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,LIBLZO,liblzo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_STYLE:= gnu
  15. CONFIGURE_ARGS+= --enable-static
  16. BUILD_STYLE:= auto
  17. MAKE_FLAGS+= CFLAGS_O="${TARGET_CFLAGS}"
  18. INSTALL_STYLE:= auto
  19. post-install:
  20. ${INSTALL_DIR} ${IDIR_LIBLZO}/usr/lib/
  21. ${CP} ${WRKINST}/usr/lib/liblzo2.so.* ${IDIR_LIBLZO}/usr/lib
  22. include ${TOPDIR}/mk/pkg-bottom.mk