diff options
author | Jose Quinteiro <gentoo@quinteiro.org> | 2010-12-01 10:14:23 -0800 |
---|---|---|
committer | Jose Quinteiro <gentoo@quinteiro.org> | 2010-12-01 10:17:31 -0800 |
commit | 918fb0f79af51a143b12c13bc6e7424cc83ed4c9 (patch) | |
tree | 8b597b5843cd9b7c60469a5343e41ac49c1e58ee /dev-vcs/perforce-cli | |
download | JoseQ-918fb0f79af51a143b12c13bc6e7424cc83ed4c9.tar.gz JoseQ-918fb0f79af51a143b12c13bc6e7424cc83ed4c9.tar.bz2 JoseQ-918fb0f79af51a143b12c13bc6e7424cc83ed4c9.zip |
Import Perforce ebuilds from bugs.gentoo.org (slightly modified
already).
Diffstat (limited to 'dev-vcs/perforce-cli')
-rw-r--r-- | dev-vcs/perforce-cli/Manifest | 3 | ||||
-rw-r--r-- | dev-vcs/perforce-cli/perforce-cli-2010.1.251161.ebuild | 36 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-vcs/perforce-cli/Manifest b/dev-vcs/perforce-cli/Manifest new file mode 100644 index 0000000..93ec175 --- /dev/null +++ b/dev-vcs/perforce-cli/Manifest @@ -0,0 +1,3 @@ +DIST perforce-cli-2010.1.251161-amd64 808360 RMD160 d5f6de001403fc61663d71ae802eb284aff0dae9 SHA1 82f61c7320a8fb760761d31a9951d0f5bccd6d86 SHA256 59ed7e034fe117d54e8fec5a286ad89baceb06b1899d19f1552e75f19debfc93 +DIST perforce-cli-2010.1.251161-x86 755848 RMD160 c5379b51a36dba4e1cd576494c748271e4400cab SHA1 272c9d92a850a34c4a7c343d84781fd8a141c482 SHA256 92d6250ba409ff202d91016376dca526261529933c66cc9336e0e03d729ed551 +EBUILD perforce-cli-2010.1.251161.ebuild 822 RMD160 b884b4faf1c8ded086629e0cd0ce2dadd63a52c9 SHA1 6a02e4019179c43dd1fb5050adc60b16f27db194 SHA256 f1474a90b6e39bc85164427e98879601883d47f5a259b65e2443942390666ebb diff --git a/dev-vcs/perforce-cli/perforce-cli-2010.1.251161.ebuild b/dev-vcs/perforce-cli/perforce-cli-2010.1.251161.ebuild new file mode 100644 index 0000000..a4fe959 --- /dev/null +++ b/dev-vcs/perforce-cli/perforce-cli-2010.1.251161.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +inherit versionator + +EAPI=2 + +REL=$(get_version_component_range 1-2) +SHORTREL=${REL/#20/} + +DESCRIPTION="Command line tool for Perforce version control system" +HOMEPAGE="http://www.perforce.com/" +SRC_URI="x86? ( ftp://ftp.perforce.com/perforce/r${SHORTREL}/bin.linux26x86/p4 \ + -> ${PF}-x86 ) + amd64? ( ftp://ftp.perforce.com/perforce/r${SHORTREL}/bin.linux26x86_64/p4 \ + -> ${PF}-amd64 )" + +LICENSE="perforce" +SLOT="0" +KEYWORDS="-* ~x86 ~amd64" +IUSE="" +RESTRICT="mirror strip" + +S=${WORKDIR} + +src_unpack() { + # we have to copy all of the files from $DISTDIR, otherwise we get + # sandbox violations when trying to install + + cp ${DISTDIR}/${A} p4 +} + +src_install() { + dobin p4 || die +} |