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/www-client/surfraw/surfraw-2.2.6.ebuild,v 1.6 2010/01/10 20:25:08 maekke Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/surfraw-2.2.6.ebuild,v 1.6 2010/01/10 20:25:08 maekke Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI="2" |
6 |
|
5 |
inherit bash-completion eutils |
7 |
inherit bash-completion eutils |
6 |
|
8 |
|
7 |
DESCRIPTION="A fast unix command line interface to WWW" |
9 |
DESCRIPTION="A fast unix command line interface to WWW" |
Lines 10-34
SRC_URI="http://${PN}.alioth.debian.org/
Link Here
|
10 |
|
12 |
|
11 |
SLOT="0" |
13 |
SLOT="0" |
12 |
LICENSE="public-domain" |
14 |
LICENSE="public-domain" |
13 |
KEYWORDS="amd64 hppa ppc sparc x86" |
15 |
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" |
14 |
IUSE="" |
16 |
IUSE="" |
15 |
RESTRICT="test" |
17 |
RESTRICT="test" |
16 |
|
18 |
|
17 |
src_unpack() { |
19 |
src_prepare() { |
18 |
unpack ${A} |
20 |
epatch "${FILESDIR}"/${PN}-2.2.6-gentoo_pkg_tools.patch |
19 |
cd "${S}" |
|
|
20 |
|
21 |
epatch "${FILESDIR}"/${P}-gentoo_pkg_tools.patch |
22 |
# Man page symlinks shouldn't link to compressed files |
21 |
# Man page symlinks shouldn't link to compressed files |
23 |
sed -i 's,\.gz,,g' links.IN |
22 |
sed -i 's,\.gz,,g' links.IN |
24 |
} |
23 |
} |
25 |
|
24 |
|
26 |
src_compile() { |
25 |
src_configure() { |
27 |
econf \ |
26 |
econf \ |
28 |
--with-elvidir='$(datadir)'/surfraw \ |
27 |
--with-elvidir='$(datadir)'/surfraw \ |
29 |
--disable-opensearch \ |
28 |
--disable-opensearch \ |
30 |
|| die "./configure failed" |
29 |
|| die "./configure failed" |
31 |
emake || die "make failed" |
|
|
32 |
} |
30 |
} |
33 |
|
31 |
|
34 |
src_install() { |
32 |
src_install() { |