1
0

Makefile 806 B

1234567891011121314151617181920212223242526
  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:= flex
  5. PKG_VERSION:= 2.5.35
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 201d3f38758d95436cbc64903386de0b
  8. PKG_DESCR:= fast lexical analyzer
  9. PKG_SECTION:= lang
  10. PKG_URL:= http://flex.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/}
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,FLEX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes \
  15. ac_cv_func_realloc_0_nonnull=yes
  16. post-install:
  17. ${INSTALL_DIR} ${IDIR_FLEX}/usr/bin
  18. ${INSTALL_BIN} ${WRKINST}/usr/bin/flex ${IDIR_FLEX}/usr/bin
  19. include ${TOPDIR}/mk/pkg-bottom.mk