/[gentoo-x86]/app-benchmarks/spew/spew-1.0.8.ebuild
Gentoo

Contents of /app-benchmarks/spew/spew-1.0.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Jun 21 13:19:42 2013 UTC (18 months, 1 week ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +8 -3 lines
Fix automake-1.13, bug #467550; respect $AR

(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-benchmarks/spew/spew-1.0.8.ebuild,v 1.6 2012/07/14 12:36:36 blueness Exp $
4
5 EAPI=4
6
7 inherit autotools eutils toolchain-funcs
8
9 DESCRIPTION="Measures I/O performance and/or generates I/O load"
10 HOMEPAGE="http://spew.berlios.de/"
11 SRC_URI="ftp://ftp.berlios.de/pub/spew/1.0.8/spew-1.0.8.tgz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ~arm ~mips ~ppc ~ppc64 x86"
16 IUSE="static"
17
18 DEPEND="static? ( sys-libs/ncurses[-gpm] dev-libs/popt[static-libs] )
19 !static? ( sys-libs/ncurses dev-libs/popt )"
20 RDEPEND="${DEPEND}"
21
22 src_prepare() {
23 epatch "${FILESDIR}"/fix-automake-1.13.patch
24 epatch "${FILESDIR}"/remove-symlinks-makefile.patch
25 eautoreconf
26 }
27
28 src_configure() {
29 econf $(use_enable static static-link)
30 }
31
32 src_compile() {
33 emake AR=$(tc-getAR)
34 }
35
36 src_install() {
37 emake DESTDIR="${D}" install
38 dosym ${PN} /usr/bin/gorge
39 dosym ${PN} /usr/bin/regorge
40 dosym ${PN}.1.bz2 /usr/share/man/man1/gorge.1.bz2
41 dosym ${PN}.1.bz2 /usr/share/man/man1/reorge.1.bz2
42 }

  ViewVC Help
Powered by ViewVC 1.1.20