Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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. PKG_SUBPKGS:= FLEX FLEX_DEV
  13. PKGSD_FLEX_DEV:= fast lexical analyzer (static library)
  14. PKGSC_FLEX_DEV:= devel
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,FLEX,flex,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,FLEX_DEV,flex-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_FLEX_DEV},${PKGSC_FLEX_DEV}))
  18. flex-install:
  19. ${INSTALL_DIR} ${IDIR_FLEX}/usr/bin
  20. ${INSTALL_BIN} ${WRKINST}/usr/bin/flex ${IDIR_FLEX}/usr/bin
  21. flex-dev-install:
  22. ${INSTALL_DIR} ${IDIR_FLEX_DEV}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libfl.a \
  24. ${IDIR_FLEX_DEV}/usr/lib
  25. include ${TOPDIR}/mk/pkg-bottom.mk