|
|
| |
inherit bash-completion eutils | inherit bash-completion eutils |
| |
S=${WORKDIR}/${PN} |
|
DESCRIPTION="A fast unix command line interface to WWW" | DESCRIPTION="A fast unix command line interface to WWW" |
HOMEPAGE="http://alioth.debian.org/projects/surfraw/" | HOMEPAGE="http://alioth.debian.org/projects/surfraw/" |
SRC_URI="mirror://debian/pool/main/s/surfraw/${PN}_${PV}.tar.gz" | SRC_URI="mirror://debian/pool/main/s/surfraw/${PN}_${PV}.tar.gz" |
|
|
src_unpack() { | src_unpack() { |
unpack ${A}; cd ${S} | unpack ${A}; cd ${S} |
| |
sed -i 's,/lib/,/share/,g' surfraw-bash-completion surfraw.1.in elvi.1sr.in |
epatch ${FILESDIR}/${PN}-2.1.5-gentoo_pkg_tools.patch |
epatch ${FILESDIR}/${PN}-gentoo_pkg_tools.patch |
|
} | } |
| |
src_compile() { | src_compile() { |
|
|
ewarn "using the 'sr' wrapper script as described above. If you wish to return to" | ewarn "using the 'sr' wrapper script as described above. If you wish to return to" |
ewarn "the old behaviour you can add /usr/share/surfraw to your \$PATH" | ewarn "the old behaviour you can add /usr/share/surfraw to your \$PATH" |
fi | fi |
|
# This file was always autogenerated, and is no longer needed. |
|
if [ -f ${ROOT}/etc/surfraw_elvi.list ]; then |
|
rm -f ${ROOT}/etc/surfraw_elvi.list |
|
fi |
} | } |