mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
WIP - first pass at making a recipe for ruby-1.9.1
This commit is contained in:
@@ -1,29 +1,56 @@
|
||||
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"
|
||||
REVISION="2"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="dev-libs/libedit >= 20100424"
|
||||
BUILD()
|
||||
{
|
||||
cd ruby-1.9.1-p243
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
|
||||
--datarootdir=`finddir B_COMMON_DATA_DIRECTORY`/ruby
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd ruby-1.9.1-p243
|
||||
make install
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user