# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ruby-gettext-0.5.3.ebuild,v 1.1 2004/01/22 07:46:49 usata Exp $ inherit ruby DESCRIPTION="Ruby GetText Package is Native Language Support Library and Tools which modeled after GNU gettext package" HOMEPAGE="http://ponx.s5.xrea.com/hiki/ruby-gettext.html" # The source tarball was downloaded from the site above SRC_URI="mirror://gentoo/${PN}-package-${PV}.tar.gz" KEYWORDS="~x86" SLOT="0" LICENSE="Ruby" DEPEND="dev-lang/ruby sys-devel/gettext dev-ruby/rdtool >=dev-ruby/racc-1.4.4" S="${WORKDIR}/${PN}-package-${PV}" src_compile() { ruby install.rb config --prefix="${D}/usr" || die "install.rb config failed" ruby install.rb setup || die "install.rb setup failed" } src_install() { ruby install.rb install || die "install.rb install failed" cd docs ruby makehtml.rb cd - erubydoc }