Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnustep-base/gnustep-make: ChangeLog gnustep-make-2.0.6-r1.ebuild
Date: Fri, 03 Oct 2008 15:57:26
Message-Id: E1Kln1v-00078Y-Kt@stork.gentoo.org
1 voyageur 08/10/03 15:57:23
2
3 Modified: ChangeLog
4 Added: gnustep-make-2.0.6-r1.ebuild
5 Log:
6 Use EAPI=2 and USE dependencies, add empty IUSE
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo x86_64)
8
9 Revision Changes Path
10 1.77 gnustep-base/gnustep-make/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-base/gnustep-make/ChangeLog?rev=1.77&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-base/gnustep-make/ChangeLog?rev=1.77&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-base/gnustep-make/ChangeLog?r1=1.76&r2=1.77
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v
19 retrieving revision 1.76
20 retrieving revision 1.77
21 diff -u -r1.76 -r1.77
22 --- ChangeLog 21 Sep 2008 15:15:13 -0000 1.76
23 +++ ChangeLog 3 Oct 2008 15:57:23 -0000 1.77
24 @@ -1,6 +1,12 @@
25 # ChangeLog for gnustep-base/gnustep-make
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.76 2008/09/21 15:15:13 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.77 2008/10/03 15:57:23 voyageur Exp $
29 +
30 +*gnustep-make-2.0.6-r1 (03 Oct 2008)
31 +
32 + 03 Oct 2008; Bernard Cafarelli <voyageur@g.o>
33 + +gnustep-make-2.0.6-r1.ebuild:
34 + Use EAPI=2 and USE dependencies, add empty IUSE
35
36 21 Sep 2008; nixnut <nixnut@g.o> gnustep-make-2.0.6.ebuild:
37 Stable on ppc wrt bug 235922
38
39
40
41 1.1 gnustep-base/gnustep-make/gnustep-make-2.0.6-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.0.6-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.0.6-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gnustep-make-2.0.6-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.0.6-r1.ebuild,v 1.1 2008/10/03 15:57:23 voyageur Exp $
51
52 EAPI=2
53
54 inherit gnustep-base eutils
55
56 DESCRIPTION="GNUstep Makefile Package"
57
58 HOMEPAGE="http://www.gnustep.org"
59 SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
60 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
61 IUSE=""
62 SLOT="0"
63 LICENSE="GPL-2"
64
65 DEPEND="${GNUSTEP_CORE_DEPEND}
66 sys-devel/gcc[objc]
67 >=sys-devel/make-3.75"
68 RDEPEND="${DEPEND}"
69
70 src_prepare() {
71 epatch "${FILESDIR}"/${PN}-2.0.1-destdir.patch
72 }
73
74 src_configure() {
75 local myconf
76 myconf="--prefix=${GNUSTEP_PREFIX} --with-layout=gnustep"
77 myconf="$myconf --with-config-file=/etc/GNUstep/GNUstep.conf"
78 myconf="$myconf --enable-native-objc-exceptions"
79 econf $myconf || die "configure failed"
80 }
81
82 src_compile() {
83 emake || die "compilation failed"
84 # Prepare doc here (needed when no gnustep-make is already installed)
85 if use doc ; then
86 # If a gnustep-1 environment is set
87 unset GNUSTEP_MAKEFILES
88 cd Documentation
89 emake -j1 all install || die "doc make has failed"
90 cd ..
91 fi
92 }
93
94 src_install() {
95 # Get GNUSTEP_* variables
96 . ./GNUstep.conf
97
98 local make_eval="-j1"
99 use debug || make_eval="${make_eval} debug=no"
100 make_eval="${make_eval} verbose=yes"
101
102 emake ${make_eval} DESTDIR="${D}" install || die "install has failed"
103
104 # Copy the documentation
105 if use doc ; then
106 dodir ${GNUSTEP_SYSTEM_LIBRARY}
107 cp -r Documentation/tmp-installation/System/Library/Documentation \
108 "${D}"${GNUSTEP_SYSTEM_LIBRARY}
109 fi
110
111 exeinto /etc/profile.d
112 doexe "${FILESDIR}"/gnustep-2.sh
113 doexe "${FILESDIR}"/gnustep-2.csh
114
115 dodir /etc/env.d
116 cat <<- EOF > "${D}"/etc/env.d/99gnustep
117 PATH=${GNUSTEP_SYSTEM_TOOLS}:${GNUSTEP_LOCAL_TOOLS}
118 ROOTPATH=${GNUSTEP_SYSTEM_TOOLS}:${GNUSTEP_LOCAL_TOOLS}
119 LDPATH=${GNUSTEP_SYSTEM_LIBRARIES}:${GNUSTEP_LOCAL_LIBRARIES}
120 MANPATH=${GNUSTEP_SYSTEM_DOC_MAN}:${GNUSTEP_LOCAL_DOC_MAN}
121 INFOPATH=${GNUSTEP_SYSTEM_DOC_INFO}:${GNUSTEP_LOCAL_DOC_INFO}
122 INFODIR=${GNUSTEP_SYSTEM_DOC_INFO}:${GNUSTEP_LOCAL_DOC_INFO}
123 EOF
124 }