# Copyright 1999-2004 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.6 2004/06/24 22:50:05 agriffis Exp $ DESCRIPTION="This is a text pager (text file viewer), used to display etexts." HOMEPAGE="http://www.sacredchao.net/software/reed/index.shtml" SRC_URI=http://www.sacredchao.net/software/reed/${P}.tar.gz LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND="sys-libs/ncurses" src_unpack() { unpack ${P}.tar.gz cd ${S} sed -i -e "s:-O2:\$(CFLAGS):" Makefile.in } src_compile() { ./configures --prefix=/usr || die make || die } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS BUGS NEWS README }