/[gentoo-x86]/dev-lang/ucblogo/ucblogo-5.5-r1.ebuild
Gentoo

Contents of /dev-lang/ucblogo/ucblogo-5.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Oct 5 18:42:31 2012 UTC (7 years, 3 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +4 -4 lines
Respect CC, wrt to bug #243896

(Portage version: 2.1.11.9/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/dev-lang/ucblogo/ucblogo-5.5-r1.ebuild,v 1.2 2010/01/02 18:45:44 fauli Exp $
4
5 inherit eutils elisp-common toolchain-funcs
6
7 DESCRIPTION="a reflective, functional programming language"
8 HOMEPAGE="http://www.cs.berkeley.edu/~bh/logo.html"
9 SRC_URI="mirror://gentoo/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
14 IUSE="emacs X"
15
16 DEPEND="emacs? ( virtual/emacs )
17 X? ( x11-libs/libICE x11-libs/libSM x11-libs/libX11 )"
18
19 SITEFILE=50${PN}-gentoo.el
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24 epatch "${FILESDIR}"/${P}-destdir.patch
25 epatch "${FILESDIR}"/${P}-fhs.patch
26 epatch "${FILESDIR}"/${P}-dont-require-tetex.patch
27 use emacs || epatch "${FILESDIR}"/${P}-no-emacs.patch
28 # use emacs || echo 'all install:' > emacs/makefile
29 }
30
31 src_compile() {
32 econf $(use_with X x) || die
33 emake CC="$(tc-getCC)" || die
34 }
35
36 src_install() {
37 make install DESTDIR="${D}" || die
38 use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}"
39 dodoc README
40 }
41
42 pkg_postinst() {
43 use emacs && elisp-site-regen
44 }
45
46 pkg_postrm() {
47 use emacs && elisp-site-regen
48 }

  ViewVC Help
Powered by ViewVC 1.1.20