/[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.8 - (show annotations) (download)
Sun Oct 13 16:24:08 2013 UTC (6 years, 8 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +4 -4 lines
Build with ncurses[tinfo], bug 459638

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2013 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.7 2012/02/13 16:32:07 darkside Exp $
4
5 EAPI=5
6 inherit toolchain-funcs eutils
7
8 DESCRIPTION="Really tiny vi clone, for things like rescue disks"
9 HOMEPAGE="http://www.pell.chi.il.us/~orc/Code/"
10 SRC_URI="http://www.pell.chi.il.us/~orc/Code/levee/${P}.tar.gz"
11
12 LICENSE="levee"
13 SLOT="0"
14 KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
15 IUSE=""
16
17 DEPEND="!app-text/lv
18 sys-libs/ncurses"
19 RDEPEND="${DEPEND}"
20
21 src_prepare() {
22 epatch "${FILESDIR}"/${PN}-3.4o-darwin.patch
23 epatch "${FILESDIR}"/${P}-QA.patch
24 epatch "${FILESDIR}"/${PN}-3.5-glibc210.patch
25 }
26
27 src_configure() {
28 export AC_CPP_PROG=$(tc-getCPP)
29 export AC_PATH=${PATH}
30 export AC_LIBDIR="$($(tc-getPKG_CONFIG) --libs ncurses)"
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