blob: ff677e45fa03bcdb0feba33b64f62c31bd02c34b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/cunit/cunit-1.1.0.1-r1.ebuild,v 1.1 2005/04/12 08:00:14 dholm Exp $
inherit eutils
S=${WORKDIR}/CUnit-1.1-1
DESCRIPTION="CUnit - C Unit Test Framework"
# Note: Upstream authors have sucky versioning scheme. We fake.
SRC_URI="mirror://sourceforge/cunit/CUnit-1.1-1.tar.gz"
HOMEPAGE="http://cunit.sourceforge.net"
DEPEND="virtual/libc"
SLOT="0"
LICENSE="LGPL-2"
KEYWORDS="~x86 ~sparc ppc"
IUSE=""
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PN}-const.patch
}
src_compile() {
./configure --prefix=/usr || die "configure failed"
make || die "make failed"
}
src_install() {
make DESTDIR=${D} install || die "make install failed"
dodoc AUTHORS COPYING INSTALL NEWS README ChangeLog
}
|