# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="newLISP is a scripting language for developing web applications and programs in general " HOMEPAGE="http://www.newlisp.org/" SRC_URI="http://www.newlisp.org/downloads/newlisp-9.1.1.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" RDEPEND="" S=${WORKDIR}/"newlisp-9.1.1" src_unpack() { unpack ${A} cd ${S} epatch "${FILESDIR}"/${P}-no_strip.patch || die "epatch failed" } src_compile() { emake -j1 || die "emake failed" } src_install() { dobin newlisp newlisp-tk/newlisp-tk.tcl examples/newlispdoc doman doc/newlisp.1 doc/newlisp-tk.1 doc/newlispdoc.1 dodoc doc/CREDITS dohtml doc/*.html # Install modules dodir /usr/share/${PN} insinto /usr/share/${PN} doins modules/*.lsp # Install examples dodir /usr/share/${PN}/examples insinto /usr/share/${PN}/examples doins init.lsp.example examples/* # Install tk stuff dodir /usr/share/${PN}/newlisp-tk insinto /usr/share/${PN}/newlisp-tk doins newlisp-tk/*.lsp dodir /usr/share/${PN}/newlisp-tk/images insinto /usr/share/${PN}/newlisp-tk/images doins newlisp-tk/images/* }