/[gentoo-x86]/sys-libs/ncurses/ncurses-5.9-r2.ebuild
Gentoo

Diff of /sys-libs/ncurses/ncurses-5.9-r2.ebuild

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

Revision 1.16 Revision 1.17
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2013 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/sys-libs/ncurses/Attic/ncurses-5.9-r2.ebuild,v 1.16 2012/10/23 20:07:18 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/Attic/ncurses-5.9-r2.ebuild,v 1.17 2013/01/17 04:19:21 vapier Exp $
4 4
5EAPI="1" 5EAPI="1"
6inherit eutils flag-o-matic toolchain-funcs 6inherit eutils flag-o-matic toolchain-funcs
7 7
8MY_PV=${PV:0:3} 8MY_PV=${PV:0:3}
13SRC_URI="mirror://gnu/ncurses/${MY_P}.tar.gz" 13SRC_URI="mirror://gnu/ncurses/${MY_P}.tar.gz"
14 14
15LICENSE="MIT" 15LICENSE="MIT"
16SLOT="5" 16SLOT="5"
17KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" 17KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
18IUSE="ada +cxx debug doc gpm minimal profile static-libs trace unicode" 18IUSE="ada +cxx debug doc gpm minimal profile static-libs tinfo trace unicode"
19 19
20DEPEND="gpm? ( sys-libs/gpm )" 20DEPEND="gpm? ( sys-libs/gpm )"
21# berkdb? ( sys-libs/db )" 21# berkdb? ( sys-libs/db )"
22RDEPEND="${DEPEND} 22RDEPEND="${DEPEND}
23 !<x11-terms/rxvt-unicode-9.06-r3" 23 !<x11-terms/rxvt-unicode-9.06-r3"
105 $(use_with debug assertions) \ 105 $(use_with debug assertions) \
106 $(use_enable debug leaks) \ 106 $(use_enable debug leaks) \
107 $(use_with debug expanded) \ 107 $(use_with debug expanded) \
108 $(use_with !debug macros) \ 108 $(use_with !debug macros) \
109 $(use_with trace) \ 109 $(use_with trace) \
110 $(use_with tinfo termlib) \
110 ${conf_abi} \ 111 ${conf_abi} \
111 "$@" 112 "$@"
112 113
113 # A little hack to fix parallel builds ... they break when 114 # A little hack to fix parallel builds ... they break when
114 # generating sources so if we generate the sources first (in 115 # generating sources so if we generate the sources first (in
136 cd "${WORKDIR}"/widec 137 cd "${WORKDIR}"/widec
137 emake DESTDIR="${D}" install || die 138 emake DESTDIR="${D}" install || die
138 fi 139 fi
139 140
140 # Move libncurses{,w} into /lib 141 # Move libncurses{,w} into /lib
141 gen_usr_ldscript -a ncurses 142 gen_usr_ldscript -a \
142 use unicode && gen_usr_ldscript -a ncursesw 143 ncurses \
144 $(usex unicode 'ncursesw' '') \
145 $(use tinfo && usex unicode 'tinfow' '') \
146 $(usev tinfo)
143 ln -sf libncurses.so "${D}"/usr/$(get_libdir)/libcurses.so || die 147 ln -sf libncurses.so "${D}"/usr/$(get_libdir)/libcurses.so || die
144 use static-libs || find "${D}"/usr/ -name '*.a' -a '!' -name '*curses++*.a' -delete 148 use static-libs || find "${D}"/usr/ -name '*.a' -a '!' -name '*curses++*.a' -delete
145 149
146# if ! use berkdb ; then 150# if ! use berkdb ; then
147 # We need the basic terminfo files in /etc, bug #37026 151 # We need the basic terminfo files in /etc, bug #37026

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20