/[gentoo-x86]/app-editors/levee/levee-3.5a.ebuild
Gentoo

Contents of /app-editors/levee/levee-3.5a.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Feb 13 16:32:07 2012 UTC (2 years, 6 months ago) by darkside
Branch: MAIN
Changes since 1.6: +5 -2 lines
use src_configure phase for configure call

(Portage version: 2.1.10.41/cvs/Linux i686)

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-editors/levee/levee-3.5a.ebuild,v 1.6 2012/02/13 16:30:44 darkside Exp $
4
5 EAPI=4
6
7 inherit toolchain-funcs eutils
8
9 DESCRIPTION="Really tiny vi clone, for things like rescue disks"
10 HOMEPAGE="http://www.pell.chi.il.us/~orc/Code/"
11 SRC_URI="http://www.pell.chi.il.us/~orc/Code/levee/${P}.tar.gz"
12
13 LICENSE="levee"
14 SLOT="0"
15 KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
16 IUSE=""
17
18 DEPEND="!app-text/lv
19 sys-libs/ncurses"
20 RDEPEND="${DEPEND}"
21
22 src_prepare() {
23 epatch "${FILESDIR}"/${PN}-3.4o-darwin.patch
24 epatch "${FILESDIR}"/${P}-QA.patch
25 epatch "${FILESDIR}"/${PN}-3.5-glibc210.patch
26 }
27
28 src_configure() {
29 export AC_CPP_PROG=$(tc-getCPP)
30 export AC_PATH=${PATH}
31 ./configure.sh --prefix="${PREFIX}"/usr || die "configure failed"
32 }
33
34 src_compile() {
35 emake CFLAGS="${CFLAGS} -Wall -Wextra ${LDFLAGS}" CC=$(tc-getCC)
36 }
37
38 src_install() {
39 emake PREFIX="${D}${EPREFIX}" install
40 }

  ViewVC Help
Powered by ViewVC 1.1.20