1234567891011121314151617181920212223242526272829303132333435363738 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= ruby
- PKG_VERSION:= 1.9.1-p378
- PKG_RELEASE:= 1
- PKG_MD5SUM:= 9fc5941bda150ac0a33b299e1e53654c
- PKG_DESCR:= interpreter for the ruby language
- PKG_SECTION:= net
- PKG_NOPARALLEL:= 1
- PKG_URL:= http://www.ruby-lang.org
- PKG_SITES:= ftp://ftp.ruby-lang.org/pub/ruby/1.9/
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,RUBY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- MAKE_FILE:= GNUmakefile
- XAKE_FLAGS+= optflags='' debugflags=''
- CONFIGURE_ARGS+= --enable-wide-getaddrinfo
- # uClibc setpgrp does not take arguments
- CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
- INSTALL_TARGET:= install-nodoc
- # Enable some ruby extension / options
- post-configure:
- #echo "option nodynamic" >> ${WRKBUILD}/ext/Setup
- #echo "socket" >> ${WRKBUILD}/ext/Setup
- post-install:
- rm ${WRKINST}/usr/lib/*.a
- rm -rf ${WRKINST}/usr/lib/site_ruby
- rm -rf ${WRKINST}/usr/include
- ${CP} ${WRKINST}/usr ${IDIR_RUBY}/
- include ${TOPDIR}/mk/pkg-bottom.mk
|