/[gentoo-x86]/gnustep-base/gnustep-base/gnustep-base-1.24.0-r1.ebuild
Gentoo

Contents of /gnustep-base/gnustep-base/gnustep-base-1.24.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sat Apr 7 14:42:41 2012 UTC (6 years, 7 months ago) by maekke
Branch: MAIN
Changes since 1.2: +2 -2 lines
x86 stable, bug #410601

(Portage version: 2.1.10.56/cvs/Linux x86_64)

1 voyageur 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 maekke 1.3 # $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/gnustep-base-1.24.0-r1.ebuild,v 1.2 2012/04/05 09:29:35 ago Exp $
4 voyageur 1.1
5     EAPI=4
6     inherit gnustep-base
7    
8     DESCRIPTION="A library of general-purpose, non-graphical Objective C objects."
9     HOMEPAGE="http://www.gnustep.org"
10     SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
11    
12     LICENSE="GPL-2 LGPL-2.1"
13     SLOT="0"
14 maekke 1.3 KEYWORDS="~alpha amd64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
15 voyageur 1.1 IUSE="+icu +libffi ssl zeroconf"
16    
17     RDEPEND="${GNUSTEP_CORE_DEPEND}
18     >=gnustep-base/gnustep-make-2.6.0
19     icu? ( >=dev-libs/icu-4.0 )
20     !libffi? ( dev-libs/ffcall
21     gnustep-base/gnustep-make[-native-exceptions] )
22     libffi? ( virtual/libffi )
23     ssl? ( net-libs/gnutls )
24     >=dev-libs/libxml2-2.6
25     >=dev-libs/libxslt-1.1
26     >=dev-libs/gmp-4.1
27     >=dev-libs/openssl-0.9.7
28     >=sys-libs/zlib-1.2
29     zeroconf? ( net-dns/avahi )"
30     DEPEND="${RDEPEND}
31     dev-util/pkgconfig"
32    
33     src_configure() {
34     egnustep_env
35    
36     local myconf
37     if use libffi;
38     then
39     myconf="--enable-libffi --disable-ffcall --with-ffi-include=$(pkg-config --variable=includedir libffi)"
40     else
41     myconf="--disable-libffi --enable-ffcall"
42     fi
43    
44     myconf="$myconf $(use_enable icu)"
45     myconf="$myconf $(use_enable ssl tls)"
46     myconf="$myconf $(use_enable zeroconf)"
47     myconf="$myconf --with-xml-prefix=${EPREFIX}/usr"
48     myconf="$myconf --with-gmp-include=${EPREFIX}/usr/include --with-gmp-library=${EPREFIX}/usr/lib"
49     myconf="$myconf --with-default-config=${EPREFIX}/etc/GNUstep/GNUstep.conf"
50    
51     econf $myconf
52     }
53    
54     src_install() {
55     # We need to set LD_LIBRARY_PATH because the doc generation program
56     # uses the gnustep-base libraries. Since egnustep_env "cleans the
57     # environment" including our LD_LIBRARY_PATH, we're left no choice
58     # but doing it like this.
59    
60     egnustep_env
61     egnustep_install
62    
63     if use doc ; then
64     export LD_LIBRARY_PATH="${S}/Source/obj:${LD_LIBRARY_PATH}"
65     egnustep_doc
66     fi
67     egnustep_install_config
68     }
69    
70     pkg_postinst() {
71     ewarn "The shared library version has changed in this release."
72     ewarn "You will need to recompile all Applications/Tools/etc in order"
73     ewarn "to use this library. Please run revdep-rebuild to do so"
74     }

  ViewVC Help
Powered by ViewVC 1.1.20