Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= 1
  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_SUBPKGS:= LIBLZO LIBLZO_DEV
  13. PKGSD_LIBLZO_DEV:= lzo library headers
  14. PKGSC_LIBLZO_DEV:= devel
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBLZO,liblzo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBLZO_DEV,liblzo-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBLZO_DEV},${PKGSC_LIBLZO_DEV}))
  18. CONFIGURE_ARGS+= --enable-static
  19. MAKE_FLAGS+= CFLAGS_O="${TARGET_CFLAGS}"
  20. liblzo-install:
  21. ${INSTALL_DIR} ${IDIR_LIBLZO}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/liblzo2.so* ${IDIR_LIBLZO}/usr/lib
  23. liblzo-dev-install:
  24. ${INSTALL_DIR} ${IDIR_LIBLZO_DEV}/usr/include/lzo
  25. ${CP} ${WRKINST}/usr/include/lzo/*.h ${IDIR_LIBLZO_DEV}/usr/include/lzo
  26. include ${TOPDIR}/mk/pkg-bottom.mk