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.4.ebuild |
Date: | Wed, 09 Jan 2008 12:58:48 |
Message-Id: | E1JCaW5-0008Pi-Hu@stork.gentoo.org |
1 | voyageur 08/01/09 12:58:45 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gnustep-make-2.0.4.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.1.4_rc14) |
8 | |
9 | Revision Changes Path |
10 | 1.60 gnustep-base/gnustep-make/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-base/gnustep-make/ChangeLog?rev=1.60&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-base/gnustep-make/ChangeLog?rev=1.60&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-base/gnustep-make/ChangeLog?r1=1.59&r2=1.60 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v |
19 | retrieving revision 1.59 |
20 | retrieving revision 1.60 |
21 | diff -u -r1.59 -r1.60 |
22 | --- ChangeLog 8 Dec 2007 20:11:58 -0000 1.59 |
23 | +++ ChangeLog 9 Jan 2008 12:58:44 -0000 1.60 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for gnustep-base/gnustep-make |
26 | -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.59 2007/12/08 20:11:58 voyageur Exp $ |
28 | +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.60 2008/01/09 12:58:44 voyageur Exp $ |
30 | + |
31 | +*gnustep-make-2.0.4 (09 Jan 2008) |
32 | + |
33 | + 09 Jan 2008; Bernard Cafarelli <voyageur@g.o> |
34 | + +gnustep-make-2.0.4.ebuild: |
35 | + Version bump |
36 | |
37 | 08 Dec 2007; Bernard Cafarelli <voyageur@g.o> -files/gnustep.csh, |
38 | -files/gnustep.sh, -gnustep-make-1.12.0-r1.ebuild, |
39 | |
40 | |
41 | |
42 | 1.1 gnustep-base/gnustep-make/gnustep-make-2.0.4.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.0.4.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.0.4.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: gnustep-make-2.0.4.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2008 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.0.4.ebuild,v 1.1 2008/01/09 12:58:44 voyageur Exp $ |
52 | |
53 | inherit gnustep-base eutils |
54 | |
55 | DESCRIPTION="GNUstep Makefile Package" |
56 | |
57 | HOMEPAGE="http://www.gnustep.org" |
58 | SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz" |
59 | KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
60 | SLOT="0" |
61 | LICENSE="GPL-2" |
62 | |
63 | DEPEND="${GNUSTEP_CORE_DEPEND} |
64 | >=sys-devel/make-3.75" |
65 | RDEPEND="${DEPEND}" |
66 | |
67 | pkg_setup() { |
68 | gnustep-base_pkg_setup |
69 | |
70 | if ! built_with_use sys-devel/gcc objc; then |
71 | ewarn "gcc must be compiled with Objective-C support! See the objc USE flag." |
72 | die "ObjC support not available" |
73 | fi |
74 | } |
75 | |
76 | src_unpack() { |
77 | unpack ${A} |
78 | cd "${S}" |
79 | epatch "${FILESDIR}"/${PN}-2.0.1-destdir.patch |
80 | } |
81 | |
82 | src_compile() { |
83 | local myconf |
84 | myconf="--prefix=${GNUSTEP_PREFIX} --with-layout=gnustep" |
85 | myconf="$myconf --with-config-file=/etc/GNUstep/GNUstep.conf" |
86 | myconf="$myconf --enable-native-objc-exceptions" |
87 | econf $myconf || die "configure failed" |
88 | |
89 | emake |
90 | # Prepare doc here (needed when no gnustep-make is already installed) |
91 | if use doc ; then |
92 | # If a gnustep-1 environment is set |
93 | unset GNUSTEP_MAKEFILES |
94 | cd Documentation |
95 | emake -j1 all install || die "doc make has failed" |
96 | cd .. |
97 | fi |
98 | } |
99 | |
100 | src_install() { |
101 | # Get GNUSTEP_* variables |
102 | . ./GNUstep.conf |
103 | |
104 | local make_eval="-j1" |
105 | use debug || make_eval="${make_eval} debug=no" |
106 | make_eval="${make_eval} verbose=yes" |
107 | |
108 | emake ${make_eval} DESTDIR="${D}" install || die "install has failed" |
109 | |
110 | # Copy the documentation |
111 | if use doc ; then |
112 | dodir ${GNUSTEP_SYSTEM_LIBRARY} |
113 | cp -r Documentation/tmp-installation/System/Library/Documentation \ |
114 | "${D}"${GNUSTEP_SYSTEM_LIBRARY} |
115 | fi |
116 | |
117 | exeinto /etc/profile.d |
118 | doexe "${FILESDIR}"/gnustep-2.sh |
119 | doexe "${FILESDIR}"/gnustep-2.csh |
120 | |
121 | dodir /etc/env.d |
122 | cat <<- EOF > "${D}"/etc/env.d/99gnustep |
123 | PATH=${GNUSTEP_SYSTEM_TOOLS}:${GNUSTEP_LOCAL_TOOLS} |
124 | ROOTPATH=${GNUSTEP_SYSTEM_TOOLS}:${GNUSTEP_LOCAL_TOOLS} |
125 | LDPATH=${GNUSTEP_SYSTEM_LIBRARIES}:${GNUSTEP_LOCAL_LIBRARIES} |
126 | MANPATH=${GNUSTEP_SYSTEM_DOC_MAN}:${GNUSTEP_LOCAL_DOC_MAN} |
127 | INFOPATH=${GNUSTEP_SYSTEM_DOC_INFO}:${GNUSTEP_LOCAL_DOC_INFO} |
128 | INFODIR=${GNUSTEP_SYSTEM_DOC_INFO}:${GNUSTEP_LOCAL_DOC_INFO} |
129 | EOF |
130 | } |
131 | |
132 | |
133 | |
134 | -- |
135 | gentoo-commits@l.g.o mailing list |