diff options
author | 2005-05-01 05:05:36 +0000 | |
---|---|---|
committer | 2005-05-01 05:05:36 +0000 | |
commit | c7752609d3c8e50e1046edc2895fff24ba4b9e80 (patch) | |
tree | 33ddda3ced85cd9c886ef13ac88aa21ec7b46674 /dev-util | |
parent | Version bump as per bug #88850 by Kalle Kotte <xake@telia.com> (diff) | |
download | historical-c7752609d3c8e50e1046edc2895fff24ba4b9e80.tar.gz historical-c7752609d3c8e50e1046edc2895fff24ba4b9e80.tar.bz2 historical-c7752609d3c8e50e1046edc2895fff24ba4b9e80.zip |
clean up ebuild
Package-Manager: portage-2.0.51.20-r5
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/cogito/Manifest | 2 | ||||
-rw-r--r-- | dev-util/cogito/cogito-0.8.ebuild | 24 |
2 files changed, 15 insertions, 11 deletions
diff --git a/dev-util/cogito/Manifest b/dev-util/cogito/Manifest index bddefc2b7e4c..c68ac6581fa2 100644 --- a/dev-util/cogito/Manifest +++ b/dev-util/cogito/Manifest @@ -1,5 +1,5 @@ MD5 3a306bacdedebc354a2c1a3525dee1bd ChangeLog 378 -MD5 6cf33be86b47d1a917e4b6d3c2b2b5ab cogito-0.8.ebuild 919 +MD5 51edf5f138f45537383042ce6c00ab29 cogito-0.8.ebuild 952 MD5 78c1b34edd1399c24d7d9e59212bc17a metadata.xml 221 MD5 9902774a3ff269d4f0aa6698fb14605c files/Makefile.patch 563 MD5 f3e0d72ecb025d059a41a2fba712fce9 files/commit-id.patch 279 diff --git a/dev-util/cogito/cogito-0.8.ebuild b/dev-util/cogito/cogito-0.8.ebuild index ffc2575bf894..320b9ab0c15f 100644 --- a/dev-util/cogito/cogito-0.8.ebuild +++ b/dev-util/cogito/cogito-0.8.ebuild @@ -1,6 +1,6 @@ # 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.2 2005/04/29 13:48:10 r3pek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cogito/cogito-0.8.ebuild,v 1.3 2005/05/01 05:05:36 vapier Exp $ inherit eutils @@ -14,21 +14,24 @@ KEYWORDS="~x86 ~amd64" IUSE="mozsha1 ppcsha1" DEPEND="dev-libs/openssl - sys-libs/zlib - !dev-util/git - !dev-util/git-pasky" + sys-libs/zlib + !dev-util/git + !dev-util/git-pasky" src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/Makefile.patch || die "epatch makefile failed" - epatch ${FILESDIR}/commit-id.patch || die "epatch commit-id failed" + cd "${S}" + epatch "${FILESDIR}"/Makefile.patch + epatch "${FILESDIR}"/commit-id.patch + sed -i \ + -e "/^CFLAGS/s:-g -O2:${CFLAGS}:" \ + Makefile } src_compile() { - if use mozsha1; then + if use mozsha1 ; then export MOZILLA_SHA1=yes - elif use ppcsha1; then + elif use ppcsha1 ; then export PPC_SHA1=yes fi @@ -36,5 +39,6 @@ src_compile() { } src_install() { - einstall || die "einstall failed" + make install DESTDIR="${D}" || die "install failed" + dodoc README* } |