diff options
author | Carlos Silva <r3pek@gentoo.org> | 2005-04-26 20:19:11 +0000 |
---|---|---|
committer | Carlos Silva <r3pek@gentoo.org> | 2005-04-26 20:19:11 +0000 |
commit | 9b90e3a32cb1df5569273e904c62f8a3a600119d (patch) | |
tree | 3a54e9046a17d0f26f048fd446f465151709a022 /dev-util | |
parent | Stable on alpha. (diff) | |
download | historical-9b90e3a32cb1df5569273e904c62f8a3a600119d.tar.gz historical-9b90e3a32cb1df5569273e904c62f8a3a600119d.tar.bz2 historical-9b90e3a32cb1df5569273e904c62f8a3a600119d.zip |
Initial Import
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/cogito/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/cogito/Manifest | 6 | ||||
-rw-r--r-- | dev-util/cogito/cogito-0.8.ebuild | 39 | ||||
-rw-r--r-- | dev-util/cogito/files/Makefile.patch | 20 | ||||
-rw-r--r-- | dev-util/cogito/files/commit-id.patch | 11 | ||||
-rw-r--r-- | dev-util/cogito/files/digest-cogito-0.8 | 1 | ||||
-rw-r--r-- | dev-util/cogito/metadata.xml | 8 |
7 files changed, 95 insertions, 0 deletions
diff --git a/dev-util/cogito/ChangeLog b/dev-util/cogito/ChangeLog new file mode 100644 index 000000000000..7edb2c912f34 --- /dev/null +++ b/dev-util/cogito/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-util/cogito +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cogito/ChangeLog,v 1.1 2005/04/26 20:19:11 r3pek Exp $ + +*cogito-0.8 (26 Apr 2005) + + 26 Apr 2005; Carlos Silva <r3pek@gentoo.org> +metadata.xml, + +files/Makefile.patch, +files/commit-id.patch, +cogito-0.8.ebuild: + Initial Import + diff --git a/dev-util/cogito/Manifest b/dev-util/cogito/Manifest new file mode 100644 index 000000000000..3d7b91c6772b --- /dev/null +++ b/dev-util/cogito/Manifest @@ -0,0 +1,6 @@ +MD5 3a306bacdedebc354a2c1a3525dee1bd ChangeLog 378 +MD5 191bf3322e18000fc79735d1253af353 cogito-0.8.ebuild 904 +MD5 78c1b34edd1399c24d7d9e59212bc17a metadata.xml 221 +MD5 9902774a3ff269d4f0aa6698fb14605c files/Makefile.patch 563 +MD5 f3e0d72ecb025d059a41a2fba712fce9 files/commit-id.patch 279 +MD5 3fb5a5b1fe10d2236e605bb52b514d3a files/digest-cogito-0.8 63 diff --git a/dev-util/cogito/cogito-0.8.ebuild b/dev-util/cogito/cogito-0.8.ebuild new file mode 100644 index 000000000000..2476ac972315 --- /dev/null +++ b/dev-util/cogito/cogito-0.8.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cogito/cogito-0.8.ebuild,v 1.1 2005/04/26 20:19:11 r3pek Exp $ + +inherit eutils + +DESCRIPTION="The GIT scripted toolkit" +HOMEPAGE="http://kernel.org/pub/software/scm/cogito/" +SRC_URI="http://kernel.org/pub/software/scm/cogito/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="mozsha1 ppcsha1" + +DEPEND="dev-libs/openssl + sys-libs/zlib" +RDEPEND="dev-util/git" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/Makefile.patch || die "epatch makefile failed" + epatch ${FILESDIR}/commit-id.patch || die "epatch commit-id failed" +} + +src_compile() { + if use mozsha1; then + export MOZILLA_SHA1=yes + elif use ppcsha1; then + export PPC_SHA1=yes + fi + + emake || die "emake failed" +} + +src_install() { + einstall || die "einstall failed" +} diff --git a/dev-util/cogito/files/Makefile.patch b/dev-util/cogito/files/Makefile.patch new file mode 100644 index 000000000000..63e0f5b48c71 --- /dev/null +++ b/dev-util/cogito/files/Makefile.patch @@ -0,0 +1,20 @@ +--- Makefile.old 2005-04-26 20:59:55.988577928 +0100 ++++ Makefile 2005-04-26 21:00:27.972490800 +0100 +@@ -18,7 +18,7 @@ + CFLAGS=-g -O2 -Wall + + # Should be changed to /usr/local +-prefix=$(HOME) ++prefix=/usr + + bindir=$(prefix)/bin + +@@ -91,7 +91,7 @@ + @echo Generating cg-version... + @rm -f $@ + @echo "#!/bin/sh" > $@ +- @PATH=.:$(PATH) echo "echo \"$(shell cat $(VERSION)) ($(shell commit-id))\"" >> $@ ++ @PATH=.:$(PATH) echo "echo \"$(shell cat $(VERSION)) ($(shell ./commit-id))\"" >> $@ + @chmod +x $@ + + install: $(PROG) $(SCRIPTS) $(SCRIPT) $(GEN_SCRIPT) diff --git a/dev-util/cogito/files/commit-id.patch b/dev-util/cogito/files/commit-id.patch new file mode 100644 index 000000000000..993c1d3cae8f --- /dev/null +++ b/dev-util/cogito/files/commit-id.patch @@ -0,0 +1,11 @@ +--- commit-id.old 2005-04-26 21:01:20.300139824 +0100 ++++ commit-id 2005-04-26 21:02:10.335884208 +0100 +@@ -32,7 +32,7 @@ + exit 1 + fi + +-if [ "$(cat-file -t "$id")" != "commit" ]; then ++if [ "$(./cat-file -t "$id")" != "commit" ]; then + echo "Invalid id: $id" >&2 + exit 1 + fi diff --git a/dev-util/cogito/files/digest-cogito-0.8 b/dev-util/cogito/files/digest-cogito-0.8 new file mode 100644 index 000000000000..0edebbedbb82 --- /dev/null +++ b/dev-util/cogito/files/digest-cogito-0.8 @@ -0,0 +1 @@ +MD5 fd211fdc2fb7d3a1917ba3e5f85496b9 cogito-0.8.tar.bz2 127157 diff --git a/dev-util/cogito/metadata.xml b/dev-util/cogito/metadata.xml new file mode 100644 index 000000000000..315619c8272f --- /dev/null +++ b/dev-util/cogito/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>r3pek@gentoo.org</email> +</maintainer> +</pkgmetadata> |