/[gentoo-x86]/app-shells/esh/esh-0.8.5.ebuild
Gentoo

Contents of /app-shells/esh/esh-0.8.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.20 - (show annotations) (download)
Thu May 10 15:20:04 2012 UTC (2 years, 3 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +1 -1 lines
FILE REMOVED
Remove old

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-shells/esh/esh-0.8.5.ebuild,v 1.19 2012/03/18 15:36:43 armin76 Exp $
4
5 inherit toolchain-funcs
6
7 DESCRIPTION="A UNIX Shell with a simplified Scheme syntax"
8 HOMEPAGE="http://slon.ttk.ru/esh/"
9 SRC_URI="http://slon.ttk.ru/esh/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ppc x86"
14 IUSE=""
15
16 DEPEND=">=sys-libs/ncurses-5.1
17 >=sys-libs/readline-4.1"
18
19 S=${WORKDIR}/${PN}
20
21 src_compile() {
22 sed -i \
23 -e "/^CFLAGS/s/-g/${CFLAGS}/" \
24 -e "s:^LIB=:LIB=-lncurses :" \
25 -e "s:-ltermcap::" \
26 Makefile
27 # For some reason, this tarball has binary files in it for x86.
28 # Make clean so we can rebuild for our arch and optimization.
29 emake clean
30 emake CC="$(tc-getCC)" || die "emake failed"
31 }
32
33 src_install() {
34 dobin esh || die
35 doinfo doc/esh.info
36 dodoc CHANGELOG CREDITS GC_README HEADER READLINE-HACKS TODO
37 dohtml doc/*.html
38 docinto examples
39 dodoc examples/*
40 insinto /usr/share/emacs/site-lisp/
41 doins emacs/esh-mode.el
42 }

  ViewVC Help
Powered by ViewVC 1.1.20