Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 149409 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/dev-libs/libtecla/libtecla-1.6.1.ebuild (-5 / +12 lines)
Lines 2-7 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/libtecla-1.6.1.ebuild,v 1.1 2006/01/20 17:49:57 markusle Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/libtecla-1.6.1.ebuild,v 1.1 2006/01/20 17:49:57 markusle Exp $
4
4
5
inherit eutils autotools
6
5
DESCRIPTION="Tecla command-line editing library"
7
DESCRIPTION="Tecla command-line editing library"
6
HOMEPAGE="http://www.astro.caltech.edu/~mcs/tecla/"
8
HOMEPAGE="http://www.astro.caltech.edu/~mcs/tecla/"
7
SRC_URI="http://www.astro.caltech.edu/~mcs/tecla/${P}.tar.gz"
9
SRC_URI="http://www.astro.caltech.edu/~mcs/tecla/${P}.tar.gz"
Lines 16-30 Link Here
16
18
17
S=${WORKDIR}/libtecla
19
S=${WORKDIR}/libtecla
18
20
21
src_unpack() {
22
	unpack ${A}; cd ${S}
23
24
	epatch ${FILESDIR}/autotools.patch
25
26
	eautoreconf
27
}
28
19
src_compile() {
29
src_compile() {
20
	# remove build directory from RPATH (see bug #119477)
21
	sed -e "s|:\$\$LD_RUN_PATH:\`pwd\`||" -i Makefile.rules || \
22
		die "Failed to adjust Makefile.rules"
23
	econf || die
30
	econf || die
24
	make || die
31
	emake || die
25
}
32
}
26
33
27
src_install() {
34
src_install() {
28
	make install prefix=${D}/usr MANDIR=${D}/usr/share/man || die
35
	make DESTDIR="${D}" install || die
29
	dodoc CHANGES INSTALL LICENSE.TERMS PORTING README RELEASE.NOTES
36
	dodoc CHANGES INSTALL LICENSE.TERMS PORTING README RELEASE.NOTES
30
}
37
}

Return to bug 149409