Added
Link Here
|
1 |
Needs a little more thought, or some method which would allow for an upstream |
2 |
push without affecting the non-Gentoo users. |
3 |
|
4 |
Index: surfraw-2.1.5/surfraw-bash-completion.IN |
5 |
=================================================================== |
6 |
--- surfraw-2.1.5/surfraw-bash-completion.IN {cset 8f95d483-869f-47ba-aba2-f0a12bb9dd07} |
Added
Link Here
|
4 |
|
4 |
|
5 |
inherit bash-completion eutils |
5 |
inherit bash-completion eutils |
6 |
|
6 |
|
7 |
S=${WORKDIR}/${PN} |
|
|
8 |
DESCRIPTION="A fast unix command line interface to WWW" |
7 |
DESCRIPTION="A fast unix command line interface to WWW" |
9 |
HOMEPAGE="http://alioth.debian.org/projects/surfraw/" |
8 |
HOMEPAGE="http://alioth.debian.org/projects/surfraw/" |
10 |
SRC_URI="mirror://debian/pool/main/s/surfraw/${PN}_${PV}.tar.gz" |
9 |
SRC_URI="mirror://debian/pool/main/s/surfraw/${PN}_${PV}.tar.gz" |
Added
Link Here
|
17 |
src_unpack() { |
16 |
src_unpack() { |
18 |
unpack ${A}; cd ${S} |
17 |
unpack ${A}; cd ${S} |
19 |
|
18 |
|
20 |
sed -i 's,/lib/,/share/,g' surfraw-bash-completion surfraw.1.in elvi.1sr.in |
19 |
epatch ${FILESDIR}/${PN}-2.1.5-gentoo_pkg_tools.patch |
21 |
epatch ${FILESDIR}/${PN}-gentoo_pkg_tools.patch |
|
|
22 |
} |
20 |
} |
23 |
|
21 |
|
24 |
src_compile() { |
22 |
src_compile() { |
Added
Link Here
|
59 |
ewarn "using the 'sr' wrapper script as described above. If you wish to return to" |
57 |
ewarn "using the 'sr' wrapper script as described above. If you wish to return to" |
60 |
ewarn "the old behaviour you can add /usr/share/surfraw to your \$PATH" |
58 |
ewarn "the old behaviour you can add /usr/share/surfraw to your \$PATH" |
61 |
fi |
59 |
fi |
60 |
# This file was always autogenerated, and is no longer needed. |
61 |
if [ -f ${ROOT}/etc/surfraw_elvi.list ]; then |
62 |
rm -f ${ROOT}/etc/surfraw_elvi.list |
63 |
fi |
62 |
} |
64 |
} |