1
0

Makefile 1012 B

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:= m4
  5. PKG_VERSION:= 1.4.17
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 12a3c829301a4fd6586a57d3fcf196dc
  8. PKG_DESCR:= macro processor
  9. PKG_SECTION:= lang
  10. PKG_BUILDDEP:= m4-host
  11. HOST_BUILDDEP:= xz-host
  12. PKG_URL:= http://www.gnu.org/software/m4/
  13. PKG_SITES:= ${MASTER_SITE_GNU:=m4/}
  14. PKG_LIBC_DEPENDS:= glibc musl
  15. include ${TOPDIR}/mk/host.mk
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call HOST_template,M4,m4,${PKG_VERSION}-${PKG_RELEASE}))
  18. $(eval $(call PKG_template,M4,m4,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. HOST_STYLE:= auto
  20. CONFIGURE_ENV+= ac_cv_func_posix_spawn=yes \
  21. ac_cv_func_posix_spawn_works=yes
  22. TARGET_LDFLAGS+= -lrt
  23. m4-install:
  24. ${INSTALL_DIR} ${IDIR_M4}/usr/bin
  25. ${INSTALL_BIN} ${WRKINST}/usr/bin/m4 ${IDIR_M4}/usr/bin
  26. include ${TOPDIR}/mk/host-bottom.mk
  27. include ${TOPDIR}/mk/pkg-bottom.mk