/[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 - (show annotations) (download)
Mon Jun 9 16:31:24 2014 UTC (5 years, 7 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 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $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
5 EAPI=5
6
7 AUTOTOOLS_AUTORECONF=1
8 AUTOTOOLS_IN_SOURCE_BUILD=1
9
10 inherit autotools-utils
11
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 KEYWORDS="amd64 ppc -sparc x86 ~amd64-linux ~x86-linux"
18 IUSE=""
19
20 DEPEND="x11-libs/gtk+:2
21 virtual/pkgconfig"
22
23 RDEPEND="x11-libs/gtk+:2
24 x11-misc/xdg-utils"
25
26 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 # gentoo specific stuff
36 sed -i -e '/COPYING/d' -e '/INSTALL/d' Makefile.am || die
37 sed -i \
38 -e "s:doc/euler:doc/${PF}:g" \
39 Makefile.am docs/Makefile.am \
40 docs/*/Makefile.am docs/*/images/Makefile.am src/main.c \
41 || die "sed for docs failed"
42 autotools-utils_src_prepare
43 }

  ViewVC Help
Powered by ViewVC 1.1.20