# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-liquid/ruby-liquid-1.0.ebuild,v 1.1 2006/06/24 23:41:43 flameeyes Exp $ inherit ruby if [[ ${PV} == "9999" ]]; then inherit git EGIT_REPO_URI="git://git.flameeyes.eu/ruby-elf.git" SRC_URI="" fi DESCRIPTION="Ruby library to access ELF files information" HOMEPAGE="http://www.flameeyes.eu/projects#ruby-elf" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="" USE_RUBY="ruby18" DEPEND="dev-libs/libxslt app-text/docbook-xsl-ns-stylesheets" RDEPEND="" src_compile() { emake -C manpages || die "emake -C manpages failed" } src_test() { "${RUBY}" -I "${S}"/lib "${S}"/tests/ts_rubyelf.rb || die "ruby-elf tests failed" } src_install() { doruby -r lib/* \ || die "doruby ruby-elf failed" for tool in cowstats missingstatic assess_duplicate_save; do newbin tools/${tool}.rb ${tool} \ || die "newbin ${tool} failed" done dodoc DONATING || die "dodoc failed" doman manpages/*.1 || die "doman failed" }