diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-04-12 05:26:56 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-04-12 05:26:56 +0000 |
commit | e2d57726fe7aaf1a795dd1d367577b94767c9d3b (patch) | |
tree | 371247e4412f42c2d27df09fb3781669a17bb613 /dev-lang | |
parent | Removed 0.5.0. Added ruby.eclass support. (diff) | |
download | historical-e2d57726fe7aaf1a795dd1d367577b94767c9d3b.tar.gz historical-e2d57726fe7aaf1a795dd1d367577b94767c9d3b.tar.bz2 historical-e2d57726fe7aaf1a795dd1d367577b94767c9d3b.zip |
Updated to the latest CVS snapshot
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/ruby/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/ruby/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/ruby/files/digest-ruby-1.6.8-r8 | 3 | ||||
-rw-r--r-- | dev-lang/ruby/ruby-1.6.8-r8.ebuild | 74 |
4 files changed, 85 insertions, 1 deletions
diff --git a/dev-lang/ruby/ChangeLog b/dev-lang/ruby/ChangeLog index d6e7f9cd526e..e8cd2a53a1ac 100644 --- a/dev-lang/ruby/ChangeLog +++ b/dev-lang/ruby/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/ruby # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.56 2004/04/11 18:10:08 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.57 2004/04/12 05:26:56 usata Exp $ + +*ruby-1.6.8-r8 (12 Apr 2004) + + 12 Apr 2004; Mamoru KOMACHI <usata@gentoo.org> ruby-1.6.8-r8.ebuild: + Updated to the latest CVS snapshot 12 Apr 2004; Mamoru KOMACHI <usata@gentoo.org> ruby-1.6.8-r3.ebuild, ruby-1.6.8-r6.ebuild, ruby-1.8.0-r1.ebuild, ruby-1.8.0-r5.ebuild, diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest index 03c2ca0dc231..373efa2fbbcf 100644 --- a/dev-lang/ruby/Manifest +++ b/dev-lang/ruby/Manifest @@ -1,4 +1,5 @@ MD5 3ea0b3f3d671f0836be6c99098b821d3 ruby-1.8.0-r5.ebuild 2573 +MD5 cba345aadd300099e7dc6194115f4ad5 ruby-1.6.8-r8.ebuild 1794 MD5 5d0d280e7d4e8c980d7a7fa5eb74d4c7 ruby-1.6.8-r7.ebuild 1713 MD5 e26a7678a5e9659f1372dd00dbaa5682 ChangeLog 9027 MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157 @@ -9,6 +10,7 @@ MD5 2183b43d1f8faf7ff0506ab9f24290d1 ruby-1.8.1-r3.ebuild 2690 MD5 d05f63da27634456886e7c924eaf96da files/ruby-1.6.8-fix-x86_64.patch 431 MD5 cd55590075f2b5edad6366efe7804ce9 files/digest-ruby-1.6.8-r7 128 MD5 a1aff527ed4b468611a7e55ab17e6bc0 files/ruby-1.6.8-oniguruma-gentoo.diff 1125 +MD5 f216de64996efc5fe3b1cef2f7f643e7 files/digest-ruby-1.6.8-r8 199 MD5 b48dff624661317e05cd3ad1d6954096 files/digest-ruby-1.6.8-r6 128 MD5 7dc5ca634977d643f01b063a7a046433 files/digest-ruby-1.8.0-r5 128 MD5 b71bbee8fb97a82541eb43ce30a62f09 files/oniguruma-20040202.diff 589 diff --git a/dev-lang/ruby/files/digest-ruby-1.6.8-r8 b/dev-lang/ruby/files/digest-ruby-1.6.8-r8 new file mode 100644 index 000000000000..dd7fd8a380b3 --- /dev/null +++ b/dev-lang/ruby/files/digest-ruby-1.6.8-r8 @@ -0,0 +1,3 @@ +MD5 bf48d49dbd94b5c0eda5f75b3bfbac16 ruby-1.6.8.tar.gz 1023403 +MD5 90bc144e1f2f4f54be96b396052ead1f ruby-1.6.8-20031015.diff.gz 43717 +MD5 3b4aa9689c3e92dd10432eec5ad513ca onigd20040316.tar.gz 196326 diff --git a/dev-lang/ruby/ruby-1.6.8-r8.ebuild b/dev-lang/ruby/ruby-1.6.8-r8.ebuild new file mode 100644 index 000000000000..55e079e3ba68 --- /dev/null +++ b/dev-lang/ruby/ruby-1.6.8-r8.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.6.8-r8.ebuild,v 1.1 2004/04/12 05:26:56 usata Exp $ + +IUSE="cjk" + +ONIG_DATE="20040316" +SNAP_DATE="20031015" + +inherit flag-o-matic alternatives eutils +filter-flags -fomit-frame-pointer + +DESCRIPTION="An object-oriented scripting language" +HOMEPAGE="http://www.ruby-lang.org/" +SRC_URI="mirror://ruby/${PV%.*}/${P/_pre/-preview}.tar.gz + mirror://gentoo/${P}-${SNAP_DATE}.diff.gz + cjk? ( ftp://ftp.ruby-lang.org/pub/ruby/contrib/onigd${ONIG_DATE}.tar.gz )" + +LICENSE="Ruby" +SLOT="1.6" +KEYWORDS="~x86 ~alpha ~ppc ~sparc ~hppa ~amd64 -ia64 ~mips" + +DEPEND=">=sys-libs/glibc-2.1.3 + >=sys-libs/gdbm-1.8.0 + >=sys-libs/readline-4.1 + >=sys-libs/ncurses-5.2 + >=dev-ruby/ruby-config-0.2" +PROVIDE="virtual/ruby" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ../${P}-${SNAP_DATE}.diff + use amd64 && epatch ${FILESDIR}/${P}-fix-x86_64.patch + + if [ -n "`use cjk`" ] ; then + einfo "Applying oniguruma-${ONIG_DATE}" + cd ${WORKDIR}/oniguruma + econf --with-rubydir=${S} + make ${SLOT/./} + fi +} + +src_compile() { + econf --program-suffix=${SLOT/./} --enable-shared || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + dosym /usr/lib/libruby${SLOT/./}.so.${PV} /usr/lib/libruby.so.${PV%.*} + dosym /usr/lib/libruby${SLOT/./}.so.${PV} /usr/lib/libruby.so.${PV} + + dodoc COPYING* ChangeLog MANIFEST README* ToDo +} + +pkg_postinst() { + + if [ ! -e "$(readlink /usr/bin/ruby)" ] ; then + /usr/sbin/ruby-config ruby${SLOT/./} + fi + einfo + einfo "You can change the default ruby interpreter by /usr/sbin/ruby-config" + einfo +} + +pkg_postrm() { + + if [ ! -e "$(readlink /usr/bin/ruby)" ] ; then + /usr/sbin/ruby-config ruby${SLOT/./} + fi +} |