31 lines
913 B
Bash
31 lines
913 B
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-lang/srf/srf-1.0-r1.ebuild,v 1.1 2011/10/10 02:21:36 araujo Exp $
|
|
|
|
EAPI="3"
|
|
|
|
DESCRIPTION="The Simple Recursive Functions programming language"
|
|
HOMEPAGE="http://www.stratigery.com/srf.html"
|
|
SRC_URI="http://www.stratigery.com/srf.html/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~x86 ~x86-linux ~ppc-macos ~amd64"
|
|
IUSE=""
|
|
|
|
DEPEND="sys-devel/flex
|
|
|| ( sys-devel/bison dev-util/yacc dev-util/byacc )"
|
|
RDEPEND=""
|
|
|
|
src_prepare() {
|
|
# Remove CVS directory Bug#371821
|
|
rm -rf examples/CVS || die "removing CVS directory failed"
|
|
}
|
|
|
|
src_install() {
|
|
dobin srf rfunc/rfunc || die "cannot instal binary"
|
|
doman srf.1 || die "cannot install man page"
|
|
dodoc srf.html README || die "cannot install docs"
|
|
docinto examples
|
|
dodoc examples/* || die "cannot install examples"
|
|
}
|