1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 Gentoo Foundation |
2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/Attic/ruby.eclass,v 1.59 2007/01/26 15:53:18 pclouds Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/Attic/ruby.eclass,v 1.60 2007/01/26 16:03:48 pclouds Exp $ |
4 | # |
4 | # |
5 | # Author: Mamoru KOMACHI <usata@gentoo.org> |
5 | # Author: Mamoru KOMACHI <usata@gentoo.org> |
6 | # |
6 | # |
7 | # The ruby eclass is designed to allow easier installation of ruby |
7 | # The ruby eclass is designed to allow easier installation of ruby |
8 | # softwares, and their incorporation into the Gentoo Linux system. |
8 | # softwares, and their incorporation into the Gentoo Linux system. |
… | |
… | |
40 | |
40 | |
41 | EXPORT_FUNCTIONS src_unpack src_compile src_install |
41 | EXPORT_FUNCTIONS src_unpack src_compile src_install |
42 | |
42 | |
43 | HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=${PN}" |
43 | HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=${PN}" |
44 | SRC_URI="mirror://gentoo/${P}.tar.gz" |
44 | SRC_URI="mirror://gentoo/${P}.tar.gz" |
45 | |
|
|
46 | # prepare for #145222 fix |
|
|
47 | # once testing is ok, this condition will be removed |
|
|
48 | if [ "${RUBY_BUG_145222}" != "yes" ]; then |
|
|
49 | IUSE="examples" |
|
|
50 | fi |
|
|
51 | |
45 | |
52 | SLOT="0" |
46 | SLOT="0" |
53 | LICENSE="Ruby" |
47 | LICENSE="Ruby" |
54 | |
48 | |
55 | # If you specify RUBY_OPTIONAL you also need to take care of ruby useflag and dependency. |
49 | # If you specify RUBY_OPTIONAL you also need to take care of ruby useflag and dependency. |