/[gentoo-x86]/sci-mathematics/prng/prng-3.0.2.ebuild
Gentoo

Contents of /sci-mathematics/prng/prng-3.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Jul 6 23:46:37 2012 UTC (2 years, 10 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +4 -3 lines
fixed examples installation directory, bug #424942

(Portage version: 2.1.11.5/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/sci-mathematics/prng/prng-3.0.2.ebuild,v 1.6 2012/07/05 16:22:30 ago Exp $
4
5 EAPI=4
6
7 AUTOTOOLS_AUTORECONF=yes
8
9 inherit autotools-utils
10
11 DESCRIPTION="Pseudo-Random Number Generator library"
12 HOMEPAGE="http://statmath.wu.ac.at/prng/"
13 SRC_URI="${HOMEPAGE}${P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT=0
17 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
18 IUSE="doc examples static-libs"
19
20 PATCHES=( "${FILESDIR}"/${P}-shared.patch )
21
22 src_install() {
23 autotools-utils_src_install
24 use doc && dodoc doc/${PN}.pdf
25 if use examples; then
26 rm examples/Makefile*
27 insinto /usr/share/doc/${PF}
28 doins -r examples
29 fi
30 }

  ViewVC Help
Powered by ViewVC 1.1.20