blob: 4ce25de6f804d0458bd516411047d77b5e597b6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/libtecla-1.6.1.ebuild,v 1.2 2008/06/03 13:10:03 markusle Exp $
inherit eutils
DESCRIPTION="Tecla command-line editing library"
HOMEPAGE="http://www.astro.caltech.edu/~mcs/tecla/"
SRC_URI="http://www.astro.caltech.edu/~mcs/tecla/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE=""
DEPEND="virtual/libc
sys-libs/ncurses"
S=${WORKDIR}/libtecla
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-install.patch
# remove build directory from RPATH (see bug #119477)
sed -e "s|:\$\$LD_RUN_PATH:\`pwd\`||" -i Makefile.rules || \
die "Failed to adjust Makefile.rules"
}
src_compile() {
econf || die "econf failed"
emake -j1 || die "emake failed"
}
src_install() {
emake install DESTDIR="${D}" || die "einstall failed"
dodoc CHANGES INSTALL PORTING README RELEASE.NOTES
}
|