Files
haikuports/dev-lang/ruby/ruby-1.9.1.recipe
2013-10-23 23:46:38 +00:00

57 lines
1.1 KiB
Plaintext

SUMMARY="ruby - A dynamic, open source programming language with a focus on simplicity and productivity."
DESCRIPTION="ruby - A dynamic, open source programming language with a focus on simplicity and productivity."
HOMEPAGE="http://www.ruby-lang.org"
SRC_URI="ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz"
CHECKSUM_MD5="515bfd965814e718c0943abf3dde5494"
LICENSE="Ruby
GNU GPL v2
GNU LGPL v2.1
Artistic (Perl)
BSD (3-clause)"
COPYRIGHT="1993-2009 Yukihiro Matsumoto"
REVISION="2"
STATUS_HAIKU="stable"
DEPEND="dev-libs/libedit >= 20100424"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
ruby = $portVersion compat = 1.9
cmd:ruby = $portVersion compat = 1.9
"
REQUIRES="
haiku >= $haikuVersion
lib:libedit
"
BUILD_REQUIRES="
devel:libedit
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:gcc
cmd:autoconf
cmd:make
"
SOURCE_DIR="ruby-1.9.1-p243"
BUILD()
{
autoconf
# ./configure --prefix=`finddir B_COMMON_DIRECTORY` \
# --mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
# --datarootdir=`finddir B_COMMON_DATA_DIRECTORY`/ruby
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}