# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/cunit/cunit-2.1.ebuild,v 1.6 2008/10/27 07:25:02 pva Exp $ inherit eutils autotools MY_PN='CUnit' MY_PV="${PV}-0" MY_P="${MY_PN}-${MY_PV}" DESCRIPTION="CUnit - C Unit Test Framework" SRC_URI="mirror://sourceforge/cunit/${MY_P}-src.tar.gz" HOMEPAGE="http://cunit.sourceforge.net" DEPEND="virtual/libc" SLOT="0" LICENSE="LGPL-2" KEYWORDS="~alpha ~amd64 ~ia64 ~mips ppc ~ppc64 sparc x86" IUSE="" S="${WORKDIR}/${MY_P}" src_compile() { eautoreconf econf || die "configure failed" emake || die "make failed" } src_install() { einstall || die "make install failed" dodoc AUTHORS INSTALL NEWS README ChangeLog }