You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
inherit autotools eutils
|
|
|
|
|
|
|
|
DESCRIPTION="extracts urls from text and will send them to another app"
|
|
|
|
HOMEPAGE="http://www.mutt.org"
|
|
|
|
SRC_URI="ftp://gd.tuwien.ac.at/infosys/mail/mutt/contrib/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86"
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
>=sys-libs/ncurses-5.2
|
|
|
|
"
|
|
|
|
DEPEND="
|
|
|
|
${RDEPEND}
|
|
|
|
virtual/pkgconfig
|
|
|
|
"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
epatch \
|
|
|
|
"${FILESDIR}"/no-trailing-newline.patch \
|
|
|
|
"${FILESDIR}"/include-fix.patch \
|
|
|
|
"${FILESDIR}"/${P}-DESTDIR.patch \
|
|
|
|
"${FILESDIR}"/${P}-tinfo.patch
|
|
|
|
|
|
|
|
eautoreconf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
dodoc README INSTALL ChangeLog AUTHORS sample.urlview
|
|
|
|
dobin url_handler.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
echo
|
|
|
|
einfo "There is a sample.urlview in /usr/share/doc/${P}"
|
|
|
|
einfo "You can also customize /usr/bin/url_handler.sh"
|
|
|
|
echo
|
|
|
|
einfo "If using urlview from mutt, you may need to "set pipe_decode" in"
|
|
|
|
einfo "your ~/.muttrc to prevent garbled URLs."
|
|
|
|
echo
|
|
|
|
}
|