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-libs/rigs: ChangeLog rigs-0.2.2.20050714-r1.ebuild rigs-0.2.2.20050714.ebuild
Date: Tue, 11 Sep 2007 11:38:16
Message-Id: E1IV3xT-0003dX-0L@stork.gentoo.org
1 voyageur 07/09/11 11:31:07
2
3 Modified: ChangeLog
4 Added: rigs-0.2.2.20050714-r1.ebuild
5 Removed: rigs-0.2.2.20050714.ebuild
6 Log:
7 Port to new GNUstep eclasses
8 (Portage version: 2.1.3.9)
9
10 Revision Changes Path
11 1.5 gnustep-libs/rigs/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-libs/rigs/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-libs/rigs/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-libs/rigs/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnustep-libs/rigs/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 31 Dec 2006 10:18:05 -0000 1.4
24 +++ ChangeLog 11 Sep 2007 11:31:06 -0000 1.5
25 @@ -1,6 +1,13 @@
26 # ChangeLog for gnustep-libs/rigs
27 -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/rigs/ChangeLog,v 1.4 2006/12/31 10:18:05 grobian Exp $
29 +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/rigs/ChangeLog,v 1.5 2007/09/11 11:31:06 voyageur Exp $
31 +
32 +*rigs-0.2.2.20050714-r1 (11 Sep 2007)
33 +
34 + 11 Sep 2007; Bernard Cafarelli <voyageur@g.o>
35 + -rigs-0.2.2.20050714.ebuild, +rigs-0.2.2.20050714-r1.ebuild:
36 + Port to new GNUstep eclasses
37 + Fixes bug #170467
38
39 31 Dec 2006; Fabian Groffen <grobian@g.o>
40 +files/rigs-0.2.2.20050714-compile.patch, rigs-0.2.2.20050714.ebuild:
41
42
43
44 1.1 gnustep-libs/rigs/rigs-0.2.2.20050714-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-libs/rigs/rigs-0.2.2.20050714-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-libs/rigs/rigs-0.2.2.20050714-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: rigs-0.2.2.20050714-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2007 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/gnustep-libs/rigs/rigs-0.2.2.20050714-r1.ebuild,v 1.1 2007/09/11 11:31:06 voyageur Exp $
54
55 inherit gnustep-2
56
57 DESCRIPTION="Ruby Interface for GNUstep."
58 HOMEPAGE="http://www.gnustep.org/experience/RIGS.html"
59 SRC_URI="mirror://gentoo/${P}.tar.bz2"
60
61 KEYWORDS="~amd64 ~x86 ~ppc"
62 LICENSE="LGPL-2.1 GPL-2"
63 SLOT="0"
64
65 DEPEND="dev-lang/ruby"
66 RDEPEND="${DEPEND}"
67
68 src_unpack() {
69 unpack ${A}
70 cd ${S}
71 epatch "${FILESDIR}"/${P}-install-rb.patch
72 epatch "${FILESDIR}"/${P}-compile.patch
73 }
74
75 src_install() {
76 gnustep-base_src_install
77
78 # install shared library
79 RUBY_SITE_ARCH_DIR=$(ruby -rrbconfig -e 'print Config::CONFIG["sitearchdir"]')
80 dodir ${RUBY_SITE_ARCH_DIR}
81 cd ${S}/Source/obj
82 if use debug; then
83 dosym \
84 ${GNUSTEP_SYSTEM_LIBRARIES}/librigs_d.so \
85 ${RUBY_SITE_ARCH_DIR}/librigs.so
86 else
87 dosym \
88 ${GNUSTEP_SYSTEM_LIBRARIES}/librigs.so \
89 ${RUBY_SITE_ARCH_DIR}/librigs.so
90 fi
91
92 # Install .rb files
93 RUBY_SITE_LIB_DIR=$(ruby -rrbconfig -e 'print Config::CONFIG["sitelibdir"]')
94 dodir ${RUBY_SITE_LIB_DIR}/rigs
95 cd ${S}/Ruby
96 cp -f rigs.rb Foundation.rb AppKit.rb ${D}/${RUBY_SITE_LIB_DIR}
97 cd ${S}/Ruby/rigs
98 RB_FILES=$(ls *.rb -1 --color=never)
99 cp -f ${RB_FILES} ${D}/${RUBY_SITE_LIB_DIR}/rigs
100
101 # install examples
102 if use doc; then
103 cd ${S}
104 dodir ${GNUSTEP_SYSTEM_DOC}/RIGS
105 cp -pPR Examples ${D}/${GNUSTEP_SYSTEM_DOC}/RIGS
106 rm -Rf \
107 ${D}/${GNUSTEP_SYSTEM_DOC}/RIGS/Examples/CVS \
108 ${D}/${GNUSTEP_SYSTEM_DOC}/RIGS/Examples/Base/CVS \
109 ${D}/${GNUSTEP_SYSTEM_DOC}/RIGS/Examples/Gui/CVS
110 fi
111 }
112
113
114
115 --
116 gentoo-commits@g.o mailing list