# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="The Shakespeare programming language (spl), providing the spl2c-compiler" HOMEPAGE="http://shakespearelang.sourceforge.net/" SRC_URI="http://shakespearelang.sf.net/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND="" RDEPEND="" src_compile() { make || die "make failed" } src_install() { dobin spl2c dolib *.a insinto /usr/include doins spl.h dodoc AUTHORS COPYING LICENSE NEWS # The emacs .el file provided with spl. docinto emacs dodoc editor/README editor/spl.el # The examples, provided with spl. docinto examples dodoc examples/*.spl # The manpage provided with the ebuild. doman $FILESDIR/spl2c.1 # Create a link from spl2c.1.gz to spl.1.gz dosym /usr/share/man/man1/spl2c.1.gz /usr/share/man/man1/spl.1.gz }