/[gentoo-x86]/net-analyzer/nam/nam-1.11.ebuild
Gentoo

Diff of /net-analyzer/nam/nam-1.11.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1.1.1 Revision 1.9
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nam/Attic/nam-1.11.ebuild,v 1.1.1.1 2005/11/30 10:12:10 chriswhite Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nam/Attic/nam-1.11.ebuild,v 1.9 2009/07/29 20:29:28 ssuominen dead $
4 4
5inherit eutils 5inherit eutils
6 6
7DESCRIPTION="Network Simulator GUI for NS" 7DESCRIPTION="Network Simulator GUI for NS"
8HOMEPAGE="http://www.isi.edu/nsnam/${PN}/" 8HOMEPAGE="http://www.isi.edu/nsnam/${PN}/"
10SRC_URI_BASE="http://www.isi.edu/nsnam/dist/" 10SRC_URI_BASE="http://www.isi.edu/nsnam/dist/"
11SRC_URI="${SRC_URI_BASE}/${MY_P}.tar.gz 11SRC_URI="${SRC_URI_BASE}/${MY_P}.tar.gz
12 ${SRC_URI_BASE}/${P}.patch" 12 ${SRC_URI_BASE}/${P}.patch"
13LICENSE="BSD" 13LICENSE="BSD"
14SLOT="0" 14SLOT="0"
15KEYWORDS="~amd64 ~ppc ~sparc ~x86" 15KEYWORDS="-amd64 ~ppc ~sparc ~x86"
16IUSE="debug" 16IUSE="debug"
17need_tclver="8.4.4" 17need_tclver="8.4.4"
18valid_tclver="${need_tclver}" 18valid_tclver="${need_tclver}"
19mytclver="" 19mytclver=""
20DEPEND="virtual/x11 20DEPEND="x11-libs/libXmu
21 >=dev-lang/tcl-${need_tclver} 21 >=dev-lang/tcl-${need_tclver}
22 >=dev-lang/tk-${need_tclver} 22 >=dev-lang/tk-${need_tclver}
23 >=dev-tcltk/otcl-1.0.8a 23 >=dev-tcltk/otcl-1.0.8a
24 >=dev-tcltk/tclcl-1.0.13b 24 >=dev-tcltk/tclcl-1.0.13b
25 dev-tcltk/tcl-debug" 25 dev-tcltk/tcl-debug"
30 # input should always be in INCREASING order 30 # input should always be in INCREASING order
31 local ACCEPTVER="8.3 8.4" 31 local ACCEPTVER="8.3 8.4"
32 [ -n "$*" ] && ACCEPTVER="$*" 32 [ -n "$*" ] && ACCEPTVER="$*"
33 for i in ${ACCEPTVER}; do 33 for i in ${ACCEPTVER}; do
34 use debug && einfo "Testing TCL ${i}" 34 use debug && einfo "Testing TCL ${i}"
35 # we support being more specific
36 [ "$(#i)" = "3" ] && i="${i}*"
37 has_version ">=dev-lang/tcl-${i}" && mytclver=${i} 35 has_version ">=dev-lang/tcl-${i}" && mytclver=${i}
38 done 36 done
39 use debug && einfo "Using TCL ${mytclver}" 37 use debug && einfo "Using TCL ${mytclver}"
40 if [ -z "${mytclver}" ]; then 38 if [ -z "${mytclver}" ]; then
41 die "Unable to find a suitable version of TCL" 39 die "Unable to find a suitable version of TCL"
42 fi 40 fi
43} 41}
44 42
45src_unpack() { 43src_unpack() {
46 unpack ${MY_P}.tar.gz 44 unpack ${MY_P}.tar.gz
47 EPATCH_OPTS="-d ${S} -p0" epatch ${DISTDIR}/${P}.patch 45 EPATCH_OPTS="-d ${S} -p0" epatch "${DISTDIR}"/${P}.patch
46 # bug 137053
47 epatch "${FILESDIR}"/${PN}-1.11-gcc4.patch
48} 48}
49 49
50src_compile() { 50src_compile() {
51 local myconf 51 local myconf
52 findtclver ${valid_tclver} 52 findtclver ${valid_tclver}

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20