blob: 6bea8327da152b7c507303baff3a65f7ebcb7b12 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/reed/reed-5.4.ebuild,v 1.12 2012/10/29 08:47:15 ago Exp $
EAPI=4
inherit toolchain-funcs
DESCRIPTION="This is a text pager (text file viewer), used to display etexts."
# Homepage http://www.sacredchao.net/software/reed/index.shtml does not exist.
HOMEPAGE="http://web.archive.org/web/20040217010815/www.sacredchao.net/software/reed/"
SRC_URI="http://www.sacredchao.net/software/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""
DEPEND="sys-libs/ncurses"
RDEPEND="${DEPEND}"
DOCS=( AUTHORS BUGS NEWS README )
src_prepare() {
sed -e "s:-O2:${CFLAGS} ${LDFLAGS}:" \
-e "s: wrap::" \
-e "s:-s reed:reed:" -i Makefile.in || die
rm wrap.1 #Collision with talkfilters, bug #247396
tc-export CC
}
src_configure() {
./configures --prefix=/usr || die "configures failed"
}
|