/[gentoo-x86]/app-emulation/ski/ski-1.3.2.ebuild
Gentoo

Contents of /app-emulation/ski/ski-1.3.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Oct 24 18:59:31 2012 UTC (21 months, 4 weeks ago) by ulm
Branch: MAIN
Changes since 1.3: +2 -2 lines
Update dependency after package move from x11-libs/openmotif to x11-libs/motif.

(Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key E7BE08CA7DC6EA25)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-emulation/ski/ski-1.3.2.ebuild,v 1.3 2012/05/11 10:23:21 vapier Exp $
4
5 EAPI="4"
6
7 inherit autotools eutils
8
9 DESCRIPTION="ia64 instruction set simulator"
10 HOMEPAGE="http://ski.sourceforge.net/ http://www.gelato.unsw.edu.au/IA64wiki/SkiSimulator"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="+gtk motif"
17
18 # We use ltdl from libtool at runtime.
19 RDEPEND="sys-devel/libtool
20 || ( dev-libs/elfutils dev-libs/libelf )
21 sys-libs/ncurses
22 gtk? ( x11-libs/gtk+:2 )
23 motif? ( x11-libs/motif )"
24 DEPEND="${RDEPEND}
25 sys-devel/bison
26 sys-devel/flex
27 dev-util/gperf"
28
29 PATCHES=(
30 "${FILESDIR}"/${P}-syscall-linux-includes.patch
31 "${FILESDIR}"/${P}-remove-hayes.patch
32 "${FILESDIR}"/${P}-no-local-ltdl.patch
33 "${FILESDIR}"/${P}-AC_C_BIGENDIAN.patch
34 "${FILESDIR}"/${P}-configure-withval.patch
35 )
36
37 src_prepare() {
38 epatch "${PATCHES[@]}"
39
40 rm -rf libltdl src/ltdl.[ch] macros/ltdl.m4
41
42 AT_M4DIR="macros" eautoreconf
43 }
44
45 src_configure() {
46 econf \
47 --without-included-ltdl \
48 $(use_with gtk) \
49 $(use_with motif x11)
50 }

  ViewVC Help
Powered by ViewVC 1.1.20