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

Contents of /sci-libs/cddlib/cddlib-094f-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Apr 20 20:26:41 2015 UTC (5 years, 2 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Drop old

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

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

  ViewVC Help
Powered by ViewVC 1.1.20