Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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:= ruby
  5. PKG_VERSION:= 1.9.1-p243
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 515bfd965814e718c0943abf3dde5494
  8. PKG_DESCR:= interpreter for the ruby language
  9. PKG_SECTION:= net
  10. PKG_URL:= http://www.ruby-lang.org
  11. PKG_SITES:= ftp://ftp.ruby-lang.org/pub/ruby/1.9/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,RUBY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. MAKE_FILE:= GNUmakefile
  15. XAKE_FLAGS+= optflags='' debugflags=''
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ARGS+= --enable-wide-getaddrinfo
  18. # uClibc setpgrp does not take arguments
  19. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  20. BUILD_STYLE:= auto
  21. INSTALL_STYLE:= auto
  22. INSTALL_TARGET:= install-nodoc
  23. # Enable some ruby extension / options
  24. post-configure:
  25. #echo "option nodynamic" >> ${WRKBUILD}/ext/Setup
  26. echo "socket" >> ${WRKBUILD}/ext/Setup
  27. post-install:
  28. rm ${WRKINST}/usr/lib/*.a
  29. rm -rf ${WRKINST}/usr/lib/site_ruby
  30. rm -rf ${WRKINST}/usr/include
  31. ${CP} ${WRKINST}/usr ${IDIR_RUBY}/
  32. include ${TOPDIR}/mk/pkg-bottom.mk