# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # http://gdesklets.gnomedesktop.org/files/rssgrab-0.6.tar.gz DESCRIPTION="Some (English) Firefox searchbar plugins" HOMEPAGE="http://mycroft.mozdev.org/download.html" LICENSE="various" SLOT="0" IUSE="" KEYWORDS="~x86 ~sparc ~ppc" DEPEND="" DOCS="Changelog README TODO" src_install() { BASEURL="http://mycroft.mozdev.org/plugins" SRCHDIR=${D}/usr/lib/MozillaFirefox/searchplugins # here we download straight to the image dir echo . einfo "Starting download of plug-ins from ${BASEURL}" echo . mkdir -p ${SRCHDIR} pushd ${SRCHDIR} for i in `cat ${FILESDIR}/plugins-${PV}`; do name=`echo $i |cut -d \, -f 1` ext=`echo $i | cut -d \, -f 2` wget ${BASEURL}/${name}.src ${BASEURL}/${name}.${ext} done popd # fix perms chown -R root:root ${SRCHDIR} chmod -R u=rw,g=r,o=r ${SRCHDIR} }