summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-08-21 09:20:15 +0000
committerHans de Graaff <graaff@gentoo.org>2014-08-21 09:20:15 +0000
commitb28a1c708e5f934e80236b0e4de7306955ab1543 (patch)
treeb55bd0efe2eccb4ccb2a19d484939e851a9632a0 /dev-lang
parentMove the specific rubygems versioning requirements for each dev-lang/ruby imp... (diff)
downloadhistorical-b28a1c708e5f934e80236b0e4de7306955ab1543.tar.gz
historical-b28a1c708e5f934e80236b0e4de7306955ab1543.tar.bz2
historical-b28a1c708e5f934e80236b0e4de7306955ab1543.zip
Cleanup.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ruby/ChangeLog5
-rw-r--r--dev-lang/ruby/Manifest21
-rw-r--r--dev-lang/ruby/ruby-1.9.3_p545.ebuild217
3 files changed, 8 insertions, 235 deletions
diff --git a/dev-lang/ruby/ChangeLog b/dev-lang/ruby/ChangeLog
index 9f6ef585f217..b1ea2897e0a1 100644
--- a/dev-lang/ruby/ChangeLog
+++ b/dev-lang/ruby/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/ruby
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.661 2014/07/27 11:36:13 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.662 2014/08/21 09:20:14 graaff Exp $
+
+ 21 Aug 2014; Hans de Graaff <graaff@gentoo.org> -ruby-1.9.3_p545.ebuild:
+ Cleanup.
26 Jul 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org> ruby-1.9.3_p547.ebuild,
ruby-2.0.0_p481.ebuild:
diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest
index 7366e8539a64..4791162341c8 100644
--- a/dev-lang/ruby/Manifest
+++ b/dev-lang/ruby/Manifest
@@ -2,39 +2,26 @@
Hash: SHA256
DIST ruby-1.9.3-p484.tar.bz2 10041514 SHA256 0fdc6e860d0023ba7b94c7a0cf1f7d32908b65b526246de9dfd5bb39d0d7922b SHA512 2c3ef8b6022027d444bd709b1a5db96a7a692e2e3aa895df4fceae101f9689a31f02583703bb0483d80659bbd4555fbb4b9b57ceb2351508fab8cd10ff28f14d WHIRLPOOL 1b1174e012bff8d047db2da654dcf535486bfd1593b8e2f6fc888603c8ed6b41bd72625ff4eeaaa645ae01a81f7edbf62f0345b61eeda02d73743572af3f6b85
-DIST ruby-1.9.3-p545.tar.bz2 10038164 SHA256 2533de9f56d62f11c06a02dd32b5ab6d22a8f268c94b8e1e1ade6536adfd1aab SHA512 7fbdaac5950abcb3cc9a2f99f441eced5f2a7d0c9107a41fb4b6caf299e372edab2be24a294ec1a6d6863b865f9cb5511ca1c15ec6bb1f45e60ffa7ab5480e04 WHIRLPOOL 9da723998cc64b55fb3ea6df922d75997f47f1c89f1f3154c893389d4403f0e590597d1e724a6adf9f2545f0645cb6312f58717af0cec4f59a2ce710bd6b46ed
DIST ruby-1.9.3-p547.tar.bz2 10036828 SHA256 ef588ed3ff53009b4c1833c83187ae252dd6c20db45e21a326cd4a16a102ef4c SHA512 d6e166f7a12ffa57d0287f7eaa7cd7717f09a745beb58f2755331874086df1a69c71144cfce5ba00d46cc44da46317fbc0d18f44a7bd65f2b2aaf149331e0d26 WHIRLPOOL 0e69db57ee41e0ce05ab9f487aab33ebde2401af5f45ddbb4cb7a4afe0dd7928f083380b4a69be2afca21db727cd01ca0f3f5ac5ea8157503e5f068a62822963
DIST ruby-2.0.0-p353.tar.bz2 10730412 SHA256 3de4e4d9aff4682fa4f8ed2b70bd0d746fae17452fc3d3a8e8f505ead9105ad9 SHA512 52aa64c5991e61cc49c2062672554353bc88ab563da93a1d1591257153c2f6d8de02417a33d7a585eb0102f1079a993e46671fb6c97c62eac8615de567b575f2 WHIRLPOOL 8d3b616838290095ab389d32caa48941e9146676730975f2868d42cf43dd5f6ff6a26bb6ca1499a164a5c743e4f5c3ad122c1bed18556d85da98b821d66caf89
DIST ruby-2.0.0-p481.tar.bz2 10727244 SHA256 0762dad7e96d8091bdf33b3e3176c2066fbf3dc09dfe85fbf40e74e83c63d8e2 SHA512 23d662b7cdc92f06161ea648505c156c7e88e86b226baa03fa3ec7c2177e052b0c9ccb95479873dc2ddd3642f58bd7b874fdce95b54d3212db57c3645c67a0de WHIRLPOOL 5d9a408c7f67e416dffda84283ea50f92baee5197f00486a84a25c0da9c173d00aaad762487dcea31bca34713e2798262e64588005bbb7abd23ba3127c394d87
DIST ruby-2.1.2.tar.bz2 11976939 SHA256 6948b02570cdfb89a8313675d4aa665405900e27423db408401473f30fc6e901 SHA512 51594ecee8ef6ad45e4a835d7671d11c126826fdaaeddfd361a6640bf30077e22212ee00342fe705c564225f637f8d692572c56b553a188bba507499b55d8843 WHIRLPOOL 259b9e8282376fe127a65159773d4a6b581306f3d5100561d6d274daeed79234b30ed6bed7cc56267f03f84e0082c359bbbefaf52a940bd046cf1e615fef8d93
DIST ruby-patches-1.9.3_p484.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc
-DIST ruby-patches-1.9.3_p545.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc
DIST ruby-patches-1.9.3_p547.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc
DIST ruby-patches-2.0.0_p353.tar.bz2 1929 SHA256 4feee409319dbcac7525fb9c1c76c36888a62ee0623c117ae532bf765845f0f9 SHA512 95cf20e26e43a1515843d74c558e3344ae33b7383362c1742a115c1b3e6d09e1ed947df8ab7fee6275e96c920bd0ef880647da70165ddccd40d0995ff43aae64 WHIRLPOOL 869055dd0e14af0dc285a11d95a891ab4686e1d16960d46728ddf680eee58d42570f64d058b88d30805b732b082c354a36dac5a816a7ce5f3034d1b22237aa5a
DIST ruby-patches-2.0.0_p481.tar.bz2 2525 SHA256 9842526b161105af36bf67d22ad578a5c4f82bd1feaf78eee72e674df594d997 SHA512 6c844bd7930ee0d6b62759f5217508f5267c857ed1ff0fc857d6077c17ecb5733d949aa9154fa22e51f8f973719749360a6b821832f2e59c37e65c080fa0c292 WHIRLPOOL 2c302058886d9bc06a5e5febd54e2419a362ca141dd18f70bf7d4c4be65484fc95c9cd432717f6f97f5949f7cf69bb9f5df6e99ae94e14df1802a6f9244a2a7a
DIST ruby-patches-2.1.2.tar.bz2 2237 SHA256 785c1682ef146d45ae9748c20792fb27de89b32afa84e2463c39e72b226b9ca4 SHA512 73df725134d12f437a9505d8345be8b55887e9b6b75ffaf2e983f375d0e5aff9fcd25624d8df79919256340e097bcf90e8656cb36073f55a00d0e00354fc40d2 WHIRLPOOL cc7d9968a58c9eddb881cf3830dd9c9532c0267c45f802733aa55f6d5c410f78a226e4e5916215bde4c2765b08a93661d5633579cbbd1830dcce89908ac88e94
EBUILD ruby-1.9.3_p484.ebuild 6125 SHA256 34b0d6bc3ecd8b5517bb3a478a1b7948e3908ab959b3259986fdecf7ebf070c5 SHA512 153a01aa0843d548ccf90ced39cb0d331fcfec8c433b86b2d20debf06c6d7a500568e47398669356342cf4f612b059a3ab869b5eb333fadc8a2d65c235c448e2 WHIRLPOOL aab05acdf893b0d44a5ca4e2402aa8810b353571ff3009ee9ee2f37e326c07218601164c540f408d3f8ff4cb429029ced67454106de6dd8864a3be3eaed68286
-EBUILD ruby-1.9.3_p545.ebuild 6195 SHA256 e7617803bf0407f61740e91ed0f81bca1f11655a6288544b8b1dbe1d25c62d08 SHA512 0f16ca50e1644b95e0fcfe159e966ba16fbe4d20e275900def6c42d56b8a9af39b372121a6c26c83d24ca94a9b218506e1945ade088080b894240235cf6df295 WHIRLPOOL dbc0a637e7b8b4f302686b7147b387ff2c3ac23ae26496e95f345f6629a105f7b79b2823212164033543c7ba4fda9f04a6e66ec7edf1cdd0d3d33793e260380d
EBUILD ruby-1.9.3_p547.ebuild 6194 SHA256 9d05931c82a624e2c4a6f37272213b389aca5a1e78cf6c6f1d9016cd33995e1a SHA512 0bcd6f67ef2f62c0f97ff50ed9cf56fad3fb696acda5d3dd6084bbdf91e466b88f3c430193190930b68676fcca3a5e7c3804d93adb42076516ea2bb29bdfb85b WHIRLPOOL 49dabd25aa9d2a2308688cce8fa8789bf67cab48869165aeb1a92ac21aa8270ac1f817cb6c6827017d6eb75178c1332d8c424f163a844eea2fbadb617653ade9
EBUILD ruby-2.0.0_p353.ebuild 6505 SHA256 dd29cdfec77df7e0d811375d6e52deb0e3a9b9a118ab272fd869dab48e82b430 SHA512 7a3e163f81e99646f1eb30605b37a98ea639d4af0525dcd7d103ef816957369b4cfa831555005748b084c029f3f11876b090fd5e329d68055877a6b7bac4da76 WHIRLPOOL 725734370ef5cb4f5fe870e8649bfe759ad94029fef88a33c04e487ae3f7e9573fd873a17691ef6c5069d3f1f5d82dccab177b6093bba4028855863895bd7e1c
EBUILD ruby-2.0.0_p481.ebuild 6392 SHA256 d1c111ad671b6859c7b2435bc6c79e42a6ee740ecc2882fe2f1b754b0d566b6c SHA512 fef95795135f877c77b703897257f4e7b87ac4d8f1113fd8d8d19e504b9b3322dccbff405f86757dee11c3cf0988185445e81005faf761e2e791f5dede07b9b4 WHIRLPOOL 5ff717c249b665d65ba5a5735dc372dbd78f669bd4c08575feb116d57ab4bf51f92fabedf4a9bae98787fdf1730fd4d1cd26273423cf778a2a8c7a0a4efaad47
EBUILD ruby-2.1.2.ebuild 6437 SHA256 6ab31dcadf3578260e002b3493ac6bc15fa0cbf05c2fde3ce6ceb3bd33f56a2b SHA512 807305d00e0caeca933300fef154c937e397389898724e5f875d2ce4f97a6424b67637a6d55b6885a9b51a646809b130aa1e5e7b753941acb0135b64f3bf78cf WHIRLPOOL 6789d8ee20702dfdd0405f1ac82d1b0e6886aeaa759e05aedf4d33a2363b714eba943a7cfd34e861cb474e063200dc4b21e73c7b5b17bbe3b81eebbdd234e5ac
-MISC ChangeLog 98762 SHA256 676893271d99cfcda839a2281eeb38506b387e00f2396ecb341e310479e18bb5 SHA512 d3b9de14bc1e8c53a939f8067fb5cf732749fc8f5a1df0024d5312d118458dfdacb4edcca3251dc0ed6bbcc4f332665790b5f4cbabe5467a13dc605932ab87bd WHIRLPOOL a4ae1002238477e0b9581b52a62cd30c692653749c09045d589513007452f0cd781018e908d396cc3be44cc273739c1c7da50fe2cc2e04a97e7330bf80b9d221
+MISC ChangeLog 98845 SHA256 1a77de9565ceefdf2cf1f6bfde17587b1c34afc15c79e1c0a2d1e20f1581a775 SHA512 9d408f1ffadf23760b24809c834c684616ae674bc934f1b1961215a93e3611974a29e6a88e8e23de8694062c441db6e005645356311d7d3cfe70408dbe012311 WHIRLPOOL 5991be8284421eb908bbf86775780da231ee11da7ce41da3afd17a66ee35157c5279f7572f0be722a5ef55b97c58e77b1d43bc8df2f1adab318382e53455f9da
MISC metadata.xml 992 SHA256 dd9e9c8252fc245f4f3c75c901e84faaceebcc1025742244871e49e7090d8a86 SHA512 7894c050d0b4dd875cd380e5db759ad7ed8c23edfff79accb169f4cbb185aed9b65c0d81e1cea3c53ef8f639423614a48de5265b069ec1ea11ef41498b1cd4f4 WHIRLPOOL e651f88aea9f39d9dcd9e6e5547699ec06568c99737948e7bee1554bdb6c45defbd7f98e435ad7c31305763e078d904b14aa14ddce084cd9c5b83dacd47c0402
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJT1CR3AAoJEE8aJVXqcZkdmBwQAIdy43DiXF/mbIA1sQQi6cRf
-z6LI6sos4LedsuCLkVXR5mv9HfhPF8XKpzeD8VCZujEsZmHYM/3moQhD9nOWBSxu
-pJjgHrB0F4IZH7TUIvg4EmCzLkB6PxaYFS59VLNQmzQQ5uh94B4vTVMcV3fPy20w
-P5gqMByBYF9Cpp9/UZa6X3l8Prf2FIQ4p8wjyxnrL3UAfkh7LIb/z4ytNlS91wKk
-8I+NqEJGazVwjIww51k0FjZcorgkD6Jp0UHoRUo1y6jQs5RylcEWVI9ojIVI3cX8
-KC2HRLIQmnAdIXgQRFEjAOB06HP/8YbBYPcP+1zZcTOzaovsZUB1Zj6xPLKQe3ym
-ds9xO1hVLiRHaSBmGK1DzwLc57MVss/6SB2iPxO8kMBRTQYcAdYXxlQhB0lRb6hf
-DwPBEljd9bcvNCysuFOnGnugM3/zpSc0JPPzo3JoyAQOpStDtfMzzJU/0hWXWWC5
-ZHvTE4Im34BnlrtDv+kOzwBrDOs2CgcW2ye1ZC6Cg7om3Q5cKWqZvCjfRieGxs3m
-bDdpdeQF3CYK1jvpAGLLTzph4avrlvI4zByXJaKcIpPsBrxPwGN6L3X1D9qOt7e9
-fuDSnB7MWSXjqEsVAijxfXzNY7nelcKJczxvJWcgcQMBVCnvOT4BUDhwCkBUbydB
-/UyIZnpFoF5etAqIsZhY
-=9oXG
+iF4EAREIAAYFAlP1uc8ACgkQiIP6VqMIqNen/QD9G/YXWurduczrkYa7MyaQclWh
+dbNT9sI+G1GuY9bnMcoA/itDlgobD1w0UFb9q0EOSaonvcv44/RFSqZN5eMqQaje
+=143S
-----END PGP SIGNATURE-----
diff --git a/dev-lang/ruby/ruby-1.9.3_p545.ebuild b/dev-lang/ruby/ruby-1.9.3_p545.ebuild
deleted file mode 100644
index 8134ae90f1b2..000000000000
--- a/dev-lang/ruby/ruby-1.9.3_p545.ebuild
+++ /dev/null
@@ -1,217 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.9.3_p545.ebuild,v 1.2 2014/04/09 08:57:36 graaff Exp $
-
-EAPI=4
-
-#PATCHSET=1
-
-inherit autotools eutils flag-o-matic multilib versionator
-
-RUBYPL=$(get_version_component_range 4)
-
-MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
-S=${WORKDIR}/${MY_P}
-
-SLOT=$(get_version_component_range 1-2)
-MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
-# 1.9.3 still uses 1.9.1
-RUBYVERSION=1.9.1
-
-if [[ -n ${PATCHSET} ]]; then
- if [[ ${PVR} == ${PV} ]]; then
- PATCHSET="${PV}-r0.${PATCHSET}"
- else
- PATCHSET="${PVR}.${PATCHSET}"
- fi
-else
- PATCHSET="${PVR}"
-fi
-
-DESCRIPTION="An object-oriented scripting language"
-HOMEPAGE="http://www.ruby-lang.org/"
-SRC_URI="mirror://ruby/1.9/${MY_P}.tar.bz2
- http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
-
-LICENSE="|| ( Ruby-BSD BSD-2 )"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
-IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl xemacs ncurses +readline +yaml" #libedit
-
-# libedit support is removed everywhere because of this upstream bug:
-# http://redmine.ruby-lang.org/issues/show/3698
-
-RDEPEND="
- berkdb? ( sys-libs/db )
- gdbm? ( sys-libs/gdbm )
- ssl? ( dev-libs/openssl )
- socks5? ( >=net-proxy/dante-1.1.13 )
- ncurses? ( sys-libs/ncurses )
- readline? ( sys-libs/readline )
- yaml? ( dev-libs/libyaml )
- virtual/libffi
- sys-libs/zlib
- >=app-admin/eselect-ruby-20100402
- !<dev-ruby/rdoc-3.9.4
- !<dev-ruby/rubygems-1.8.10-r1"
-# libedit? ( dev-libs/libedit )
-# !libedit? ( readline? ( sys-libs/readline ) )
-
-DEPEND="${RDEPEND}"
-PDEPEND="
- >=dev-ruby/rubygems-1.8.10-r1[ruby_targets_ruby19]
- rdoc? ( >=dev-ruby/rdoc-3.9.4[ruby_targets_ruby19] )
- xemacs? ( app-xemacs/ruby-modes )"
-
-src_prepare() {
- EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
- epatch "${WORKDIR}/patches"
-
- einfo "Unbundling gems..."
- cd "$S"
- rm -r \
- {bin,lib}/rake lib/rake.rb man/rake.1 \
- ext/json \
- bin/gem || die "removal failed"
-
- # Fix a hardcoded lib path in configure script
- sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
- configure.in || die "sed failed"
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=
-
- # -fomit-frame-pointer makes ruby segfault, see bug #150413.
- filter-flags -fomit-frame-pointer
- # In many places aliasing rules are broken; play it safe
- # as it's risky with newer compilers to leave it as it is.
- append-flags -fno-strict-aliasing
- # SuperH needs this
- use sh && append-flags -mieee
-
- # Socks support via dante
- if use socks5 ; then
- # Socks support can't be disabled as long as SOCKS_SERVER is
- # set and socks library is present, so need to unset
- # SOCKS_SERVER in that case.
- unset SOCKS_SERVER
- fi
-
- # Increase GC_MALLOC_LIMIT if set (default is 8000000)
- if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
- append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
- fi
-
- # ipv6 hack, bug 168939. Needs --enable-ipv6.
- use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
-
-# if use libedit; then
-# einfo "Using libedit to provide readline extension"
-# myconf="${myconf} --enable-libedit --with-readline"
-# elif use readline; then
-# einfo "Using readline to provide readline extension"
-# myconf="${myconf} --with-readline"
-# else
-# myconf="${myconf} --without-readline"
-# fi
- myconf="${myconf} $(use_with readline)"
-
- # Always disable tk because the module is no longer compatible with
- # stable tcl/tk: https://bugs.gentoo.org/show_bug.cgi?id=500894
- INSTALL="${EPREFIX}/usr/bin/install -c" econf \
- --program-suffix=${MY_SUFFIX} \
- --with-soname=ruby${MY_SUFFIX} \
- --enable-shared \
- --enable-pthread \
- --without-tk \
- $(use_enable socks5 socks) \
- $(use_enable doc install-doc) \
- --enable-ipv6 \
- $(use_enable debug) \
- $(use_with berkdb dbm) \
- $(use_with gdbm) \
- $(use_with ssl openssl) \
- $(use_with ncurses curses) \
- $(use_with yaml psych) \
- ${myconf} \
- --enable-option-checking=no \
- || die "econf failed"
-}
-
-src_compile() {
- emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
-}
-
-src_test() {
- emake -j1 V=1 test || die "make test failed"
-
- elog "Ruby's make test has been run. Ruby also ships with a make check"
- elog "that cannot be run until after ruby has been installed."
- elog
- if use rubytests; then
- elog "You have enabled rubytests, so they will be installed to"
- elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
- elog "than root, and you must place them into a writeable directory."
- elog "Then call: "
- elog
- elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
- else
- elog "Enable the rubytests USE flag to install the make check tests"
- fi
-}
-
-src_install() {
- # Ruby is involved in the install process, we don't want interference here.
- unset RUBYOPT
-
- local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
-
- LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
- RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
- for d in $(find "${S}/ext" -type d) ; do
- RUBYLIB="${RUBYLIB}:$d"
- done
- export LD_LIBRARY_PATH RUBYLIB
-
- emake V=1 DESTDIR="${D}" install || die "make install failed"
-
- # Remove installed rubygems copy
- rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
- rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
- rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
-
- if use doc; then
- make DESTDIR="${D}" install-doc || die "make install-doc failed"
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r sample
- fi
-
- dodoc ChangeLog NEWS doc/NEWS* README* ToDo || die
-
- if use rubytests; then
- pushd test
- insinto /usr/share/${PN}-${SLOT}/test
- doins -r .
- popd
- fi
-}
-
-pkg_postinst() {
- if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
- eselect ruby set ruby${MY_SUFFIX}
- fi
-
- elog
- elog "To switch between available Ruby profiles, execute as root:"
- elog "\teselect ruby set ruby(19|20|...)"
- elog
-}
-
-pkg_postrm() {
- eselect ruby cleanup
-}