# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/yamlrb/yamlrb-0.47.ebuild,v 1.3 2003/02/28 16:54:59 liquidx Exp $ S=${WORKDIR}/${P} DESCRIPTION="Machine parsable data serialization format designed for human readability." SRC_URI="mirror://sourceforge/yaml4r/${P}.tar.gz" HOMEPAGE="http://yaml4r.sourceforge.net/" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86" DEPEND=">=dev-lang/ruby-1.6" src_install() { INSTALL_DIR=`ruby -e 'require "rbconfig"; puts Config::CONFIG["sitelibdir"]'` mkdir -p ${D}${INSTALL_DIR} cp src/yaml.rb ${D}${INSTALL_DIR}/ cp src/okay.rb ${D}${INSTALL_DIR}/ cp -dr src/okay/ ${D}${INSTALL_DIR}/ dodoc [A-Z]* }