diff options
author | Fernando J. Pereda <ferdy@gentoo.org> | 2005-12-15 09:12:50 +0000 |
---|---|---|
committer | Fernando J. Pereda <ferdy@gentoo.org> | 2005-12-15 09:12:50 +0000 |
commit | 540284089a08111da8789fd099e7268542594cd4 (patch) | |
tree | cf79fa8e69510e3c01f6fe8ef82b46235be9c0f3 /dev-util/cogito/cogito-0.16.2.ebuild | |
parent | Version bump. Clsoes bug #111051 (diff) | |
download | gentoo-2-540284089a08111da8789fd099e7268542594cd4.tar.gz gentoo-2-540284089a08111da8789fd099e7268542594cd4.tar.bz2 gentoo-2-540284089a08111da8789fd099e7268542594cd4.zip |
version bump. remove old version
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'dev-util/cogito/cogito-0.16.2.ebuild')
-rw-r--r-- | dev-util/cogito/cogito-0.16.2.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/dev-util/cogito/cogito-0.16.2.ebuild b/dev-util/cogito/cogito-0.16.2.ebuild new file mode 100644 index 000000000000..41fb585d04c6 --- /dev/null +++ b/dev-util/cogito/cogito-0.16.2.ebuild @@ -0,0 +1,58 @@ +# 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.16.2.ebuild,v 1.1 2005/12/15 09:12:50 ferdy Exp $ + +inherit eutils + +MY_P=${P//_/} + +DESCRIPTION="The GIT scripted toolkit" +HOMEPAGE="http://kernel.org/pub/software/scm/cogito/" +SRC_URI="http://kernel.org/pub/software/scm/cogito/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~mips ~ppc ~x86" +IUSE="doc" + +DEPEND="dev-libs/openssl + sys-libs/zlib + >=dev-util/git-0.99.3 + doc? ( >=app-text/asciidoc-7.0.1 app-text/xmlto )" + +RDEPEND="net-misc/rsync + app-text/rcs + net-misc/curl" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} ; cd ${S} + + # t9300-seek won't work + rm t/t9300-seek.sh +} + +src_compile() { + emake || die "emake failed" + + if use doc ; then + sed -i -e "/^docdir=/s:cogito:${PF}:" \ + ${S}/Documentation/Makefile || die "sed failed (Documentation)" + emake -C Documentation || die "make documentation failed" + fi +} + +src_install() { + make install DESTDIR="${D}" prefix="/usr" || die "install failed" + dodoc README* VERSION COPYING + + if use doc ; then + doman Documentation/*.1 Documentation/*.7 + dodir /usr/share/doc/${PF}/html + cp Documentation/*.html ${D}/usr/share/doc/${PF}/html/ + fi + + dodir /usr/share/doc/${PF}/contrib + cp ${S}/contrib/* ${D}/usr/share/doc/${PF}/contrib +} |