Files
haikuports/dev-lang/ruby/ruby-1.9.1.recipe
Humdinger 70b8f948c6 De-linting recipes.
*	flare, freedroidRPG
	Don't start with the app name, in the _data section too...
	Re-order blocks

*	help2man
	SUMMARY must not end with "."
	Re-ordered blocks

*	html_parser, xml_parser
	Corrected license
	Re-ordered blocks

*	jq
	Corrected copy&paste mishap, I guess
	Re-ordered blocks

*	librevenge
	Re-ordered blocks
	Removed email addresses from COPYRIGHT

*	mesa
	Don't start with the app name, in the _swrat and _swpipe sections too...
	Re-ordered blocks

*	qupzilla
	SUMMARY must not end with "."

*	ruby
	Corrected license
	Re-ordered blocks

*	vncserver
	Removed "copyright" from COPYRIGHT
2015-08-08 20:00:24 +02:00

90 lines
2.1 KiB
Bash

SUMMARY="A programming language focused on simplicity and productivity"
DESCRIPTION="Ruby is a dynamic, reflective, object-oriented, general-purpose \
programming language. It was designed and developed in the mid-1990s \
by Yukihiro 'Matz' Matsumoto in Japan.
Ruby embodies syntax inspired by Perl with Smalltalk-like features and \
was also influenced by Eiffel and Lisp. It supports multiple \
programming paradigms, including functional, object oriented, and \
imperative. It also has a dynamic type system and automatic memory \
management. Therefore, it is similar in varying degrees to, Smalltalk, \
Python, Perl, Lisp, Dylan, and CLU."
HOMEPAGE="http://www.ruby-lang.org"
COPYRIGHT="1993-2009 Yukihiro Matsumoto"
LICENSE="Ruby
GNU GPL v2
GNU LGPL v2.1
Artistic
BSD (3-clause)"
REVISION="2"
SOURCE_URI="ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz"
CHECKSUM_SHA256="31598e37b3962643bec722921644957be6f8fb9a26f6c91fa627bd668ea68be4"
SOURCE_DIR="ruby-1.9.1-p243"
PATCHES="ruby-1.9.1.patchset"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
PROVIDES="
ruby = $portVersion compat >= 1.9
cmd:ruby = $portVersion compat >= 1.9
cmd:erb = $portVersion compat >= 1.9
cmd:gem = $portVersion compat >= 1.9
cmd:irb = $portVersion compat >= 1.9
cmd:rake = $portVersion compat >= 1.9
cmd:rdoc = $portVersion compat >= 1.9
cmd:ri = $portVersion compat >= 1.9
cmd:testrb = $portVersion compat >= 1.9
lib:libruby = $portVersion compat >= 1.9
"
REQUIRES="
haiku
lib:libedit
lib:libz
lib:libcrypto
lib:libssl
lib:libiconv
lib:libncursesw
"
PROVIDES_devel="
ruby_devel = $portVersion
devel:libruby_static = $portVersion compat >= 1.9
lib:libruby_static = $portVersion compat >= 1.9
devel:libruby = $portVersion compat >= 1.9
"
REQUIRES_devel="
ruby == $portVersion
"
BUILD_REQUIRES="
haiku_devel
devel:libedit
devel:libz
devel:libcrypto
devel:libssl
devel:libiconv
devel:libncursesw
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:g++
cmd:autoconf
cmd:make
cmd:bison
"
BUILD()
{
autoconf
runConfigure ./configure \
--enable-shared
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libruby-static libruby
packageEntries devel $developDir
}