summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-25 21:35:28 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-25 21:35:28 +0000
commitabd4bfe157e8ce589ba7b981ec2425eea7162585 (patch)
tree30e70c5c6bb3d56f3eefb1f314c0ffc39101ef1a /dev-util/cproto
parentfixing Manifest (diff)
downloadgentoo-2-abd4bfe157e8ce589ba7b981ec2425eea7162585.tar.gz
gentoo-2-abd4bfe157e8ce589ba7b981ec2425eea7162585.tar.bz2
gentoo-2-abd4bfe157e8ce589ba7b981ec2425eea7162585.zip
add inherit eutils
Diffstat (limited to 'dev-util/cproto')
-rw-r--r--dev-util/cproto/cproto-4.6-r1.ebuild22
1 files changed, 8 insertions, 14 deletions
diff --git a/dev-util/cproto/cproto-4.6-r1.ebuild b/dev-util/cproto/cproto-4.6-r1.ebuild
index d2faafbb6415..9909fe41be5b 100644
--- a/dev-util/cproto/cproto-4.6-r1.ebuild
+++ b/dev-util/cproto/cproto-4.6-r1.ebuild
@@ -1,16 +1,17 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cproto/cproto-4.6-r1.ebuild,v 1.2 2004/03/15 15:45:20 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cproto/cproto-4.6-r1.ebuild,v 1.3 2004/04/25 21:32:28 vapier Exp $
-IUSE=""
+inherit eutils
DESCRIPTION="generate C function prototypes from C source code"
-SRC_URI="http://dl.sourceforge.net/sourceforge/cproto/cproto-4.6.tar.gz"
-HOMEPAGE="http://cproto.sourceforge.net/"
+HOMEPAGE="http://cproto.sourceforge.net//"
+SRC_URI="mirror://sourceforge/cproto/${P}.tar.gz"
+LICENSE="public-domain"
SLOT="0"
KEYWORDS="x86 ~ppc"
-LICENSE="public-domain"
+IUSE=""
DEPEND="virtual/glibc"
@@ -18,19 +19,12 @@ src_unpack() {
unpack ${A}
cd ${S}
- patch -p1 < ${FILESDIR}/${P}-mkstemp.patch
+ epatch ${FILESDIR}/${P}-mkstemp.patch
epatch ${FILESDIR}/${PV}-YYSTYPE.patch
}
-src_compile() {
- econf || die "./configure failed"
- emake || die
-}
-
src_install() {
-
- dodir /usr/bin
- dobin cproto
+ dobin cproto || die
doman cproto.1
dodoc README CHANGES
}