Makefile 1.1 KB

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