# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/perforce-cli/perforce-cli-2006.1.ebuild,v 1.4 2004/07/02 05:11:02 eradicator Exp $ DESCRIPTION="CLI Tools for a commercial version control system" HOMEPAGE="http://www.perforce.com/" URI_BASE="http://www.perforce.com/downloads/perforce/r06.1" BIN_BASE="$URI_BASE/bin.linux26x86" REAL_URI="${BIN_BASE}/p4" SRC_URI="${BIN_BASE}/p4-${PVR}" LICENSE="perforce.pdf" SLOT="0" KEYWORDS="~x86" IUSE="" RESTRICT="fetch strip" DEPEND="virtual/libc" S=${WORKDIR} pkg_nofetch() { einfo einfo " Due to file naming issues, we cannot fetch the p4 executable" einfo " automagically." einfo einfo " 1. Download ${SRC_URI}" einfo " 2. Move file to ${DISTDIR}/p4-${PVR}" einfo } src_unpack() { # we have to copy all of the files from $DISTDIR, otherwise we get # sandbox violations when trying to install cp ${DISTDIR}/p4-${PVR} p4 } src_install() { dobin p4 || die }