Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  19. BUILD_STYLE:= auto
  20. INSTALL_STYLE:= auto
  21. INSTALL_TARGET:= install-nodoc
  22. # Enable some ruby extension / options
  23. post-configure:
  24. #echo "option nodynamic" >> ${WRKBUILD}/ext/Setup
  25. echo "socket" >> ${WRKBUILD}/ext/Setup
  26. post-install:
  27. rm ${WRKINST}/usr/lib/*.a
  28. rm -rf ${WRKINST}/usr/lib/site_ruby
  29. rm -rf ${WRKINST}/usr/include
  30. ${CP} ${WRKINST}/usr ${IDIR_RUBY}/
  31. include ${TOPDIR}/mk/pkg-bottom.mk