2014-08-12 12:57:09 +04:00
|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
2013-04-11 00:10:44 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
inherit autotools eutils
|
|
|
|
|
2014-08-12 12:57:09 +04:00
|
|
|
DESCRIPTION="A text based web browser with no ssl support"
|
2013-04-11 00:10:44 +04:00
|
|
|
HOMEPAGE="http://netrik.sourceforge.net/"
|
|
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
2013-04-13 19:59:45 +04:00
|
|
|
KEYWORDS="amd64 ~sparc x86"
|
2013-04-11 00:10:44 +04:00
|
|
|
|
|
|
|
RDEPEND=">=sys-libs/ncurses-5.1[unicode]
|
|
|
|
sys-libs/readline"
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
sed -i -e "/^doc_DATA/s/COPYING LICENSE //" \
|
|
|
|
Makefile.am || die 'sed on Makefile.am failed'
|
|
|
|
|
2013-05-17 17:45:44 +04:00
|
|
|
# bug #467812
|
|
|
|
sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
|
|
|
|
configure.ac || die 'sed on configure.ac failed'
|
|
|
|
|
2013-04-11 00:10:44 +04:00
|
|
|
# bug #459660
|
|
|
|
epatch "${FILESDIR}/${P}-ncurses-tinfo.patch"
|
2013-04-13 01:14:36 +04:00
|
|
|
epatch "${FILESDIR}/${P}-configure.patch"
|
2013-04-11 00:10:44 +04:00
|
|
|
epatch_user
|
|
|
|
|
|
|
|
eautoreconf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install
|
|
|
|
}
|