/[gentoo-x86]/sci-libs/cddlib/cddlib-094g.ebuild
Gentoo

Contents of /sci-libs/cddlib/cddlib-094g.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Sun Apr 19 10:03:46 2015 UTC (5 years, 3 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable for x86, wrt bug #545406

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 jlec 1.3 # Copyright 1999-2015 Gentoo Foundation
2 jlec 1.1 # Distributed under the terms of the GNU General Public License v2
3 ago 1.5 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cddlib/cddlib-094g.ebuild,v 1.4 2015/04/08 13:36:54 ago Exp $
4 jlec 1.1
5     EAPI=5
6    
7     AUTOTOOLS_AUTORECONF=true
8    
9     inherit autotools-utils
10    
11 slyfox 1.2 DESCRIPTION="C implementation of the Double Description Method of Motzkin et al"
12 jlec 1.1 HOMEPAGE="http://www.ifor.math.ethz.ch/~fukuda/cdd_home/"
13     SRC_URI="ftp://ftp.ifor.math.ethz.ch/pub/fukuda/cdd/${P}.tar.gz"
14    
15     SLOT="0"
16     LICENSE="GPL-2"
17 ago 1.5 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
18 jlec 1.1 IUSE="doc static-libs"
19    
20 jlec 1.3 DEPEND=">=dev-libs/gmp-4.2.2:0="
21 jlec 1.1 RDEPEND="${DEPEND}"
22    
23     AUTOTOOLS_IN_SOURCE_BUILD="1"
24    
25     DOCS=( ChangeLog README )
26    
27     PATCHES=(
28     "${FILESDIR}"/${P}-add-cdd_both_reps-binary.patch
29     )
30    
31     src_prepare() {
32     autotools-utils_src_prepare
33    
34     cp "${FILESDIR}"/cdd_both_reps.c "${S}"/src/ \
35     || die "failed to copy source file"
36     ln -s "${S}"/src/cdd_both_reps.c "${S}"/src-gmp/cdd_both_reps.c \
37     || die "failed to make symbolic link to source file"
38     }
39    
40     src_install() {
41 jlec 1.3 use doc && DOCS+=( doc/cddlibman.pdf doc/cddlibman.ps )
42 jlec 1.1
43     autotools-utils_src_install
44     }

  ViewVC Help
Powered by ViewVC 1.1.20