summaryrefslogtreecommitdiff
blob: 3739504bc1b12142f4c066ab38cd577077c52235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2002 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.1 2003/01/31 23:11:10 rphillips 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"
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]*
}