/[gentoo-x86]/sci-mathematics/euler/euler-1.61.0.ebuild
Gentoo

Contents of /sci-mathematics/euler/euler-1.61.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (hide annotations) (download)
Mon Jun 9 16:31:24 2014 UTC (5 years, 8 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +20 -22 lines
Fixed for glibc underlinking, thanks to Ted Tanberry and Kobboi, bug #512472

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

1 bicatali 1.11 # Copyright 1999-2014 Gentoo Foundation
2 spyderous 1.1 # Distributed under the terms of the GNU General Public License v2
3 bicatali 1.11 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild,v 1.10 2012/05/04 07:46:51 jdhore Exp $
4 jlec 1.9
5 bicatali 1.11 EAPI=5
6 markusle 1.2
7 bicatali 1.11 AUTOTOOLS_AUTORECONF=1
8     AUTOTOOLS_IN_SOURCE_BUILD=1
9    
10     inherit autotools-utils
11 spyderous 1.1
12     DESCRIPTION="Mathematical programming environment"
13     HOMEPAGE="http://euler.sourceforge.net/"
14     SRC_URI="mirror://sourceforge/euler/${P}.tgz"
15     LICENSE="GPL-2"
16     SLOT="0"
17 bicatali 1.11 KEYWORDS="amd64 ppc -sparc x86 ~amd64-linux ~x86-linux"
18 spyderous 1.1 IUSE=""
19 bicatali 1.7
20 jlec 1.9 DEPEND="x11-libs/gtk+:2
21 jdhore 1.10 virtual/pkgconfig"
22 bicatali 1.7
23 jlec 1.9 RDEPEND="x11-libs/gtk+:2
24 bicatali 1.7 x11-misc/xdg-utils"
25 spyderous 1.1
26 bicatali 1.11 PATCHES=(
27     "${FILESDIR}"/configure-gentoo.patch
28     "${FILESDIR}"/command-gcc4-gentoo.patch
29     "${FILESDIR}"/${PN}-glibc-2.4-gentoo.patch
30     "${FILESDIR}"/${PN}-xdg.patch
31     "${FILESDIR}"/${PN}-fortify.patch
32     )
33    
34     src_prepare() {
35 bicatali 1.7 # gentoo specific stuff
36 bicatali 1.11 sed -i -e '/COPYING/d' -e '/INSTALL/d' Makefile.am || die
37 bicatali 1.7 sed -i \
38     -e "s:doc/euler:doc/${PF}:g" \
39     Makefile.am docs/Makefile.am \
40 bicatali 1.11 docs/*/Makefile.am docs/*/images/Makefile.am src/main.c \
41 bicatali 1.7 || die "sed for docs failed"
42 bicatali 1.11 autotools-utils_src_prepare
43 spyderous 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20