/[gentoo-x86]/dev-util/cunit/cunit-2.1-r1.ebuild
Gentoo

Contents of /dev-util/cunit/cunit-2.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Wed Aug 1 13:20:59 2012 UTC (2 years, 2 months ago) by aballier
Branch: MAIN
Changes since 1.8: +2 -2 lines
keyword ~amd64-fbsd

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/cunit/cunit-2.1-r1.ebuild,v 1.8 2012/07/29 13:18:19 blueness Exp $
4
5 EAPI=3
6 inherit eutils autotools
7
8 MY_PN='CUnit'
9 MY_PV="${PV}-0"
10 MY_P="${MY_PN}-${MY_PV}"
11
12 DESCRIPTION="CUnit - C Unit Test Framework"
13 SRC_URI="mirror://sourceforge/cunit/${MY_P}-src.tar.gz"
14 HOMEPAGE="http://cunit.sourceforge.net"
15
16 DEPEND=""
17 SLOT="0"
18 LICENSE="LGPL-2"
19 KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
20 IUSE=""
21
22 S=${WORKDIR}/${MY_P}
23
24 src_prepare() {
25 sed -e "/^docdir/d" -i doc/Makefile.am
26 sed -e '/^dochdrdir/{s:$(prefix)/doc/@PACKAGE@:$(docdir):}' \
27 -i doc/headers/Makefile.am
28 eautoreconf
29 }
30
31 src_configure() {
32 econf --docdir="${EPREFIX}"/usr/share/doc/${PF}
33 }
34
35 src_install() {
36 emake DESTDIR="${D}" install || die "make install failed"
37 dodoc AUTHORS NEWS README ChangeLog
38 }

  ViewVC Help
Powered by ViewVC 1.1.20