# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="emerge offline (fetch elsewhere)" HOMEPAGE="" SRC_URI="http://goondy.free.fr/magicbanana/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" RESTRICT="mirror" DEPEND="" RDEPEND="sys-apps/portage" src_install() { dodir /usr/share/offline-emerge cp fetch ${D}/usr/share/offline-emerge dobin offline-emerge doman offline-emerge.1 } pkg_postinst() { if [ -z "$MOVINGDIR" ] then ewarn "MOVINGDIR must be the name of a directory on an amovible device." ewarn "Please set this variable in /etc/make.conf." ewarn "" ewarn "You can, for instance, adapt the following command:" ewarn "echo 'MOVINGDIR=\"/media/usbdisk/moving-portage\"' >> /etc/make.conf" fi }