Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lua/luvit: ChangeLog luvit-9999.ebuild luvit-0.6.1.ebuild
Date: Tue, 05 Mar 2013 21:09:22
Message-Id: 20130305210917.9E61D2171D@flycatcher.gentoo.org
1 hasufell 13/03/05 21:09:17
2
3 Modified: ChangeLog luvit-9999.ebuild
4 Added: luvit-0.6.1.ebuild
5 Log:
6 version bump, update live ebuild
7
8 (Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.2 dev-lua/luvit/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/ChangeLog?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/ChangeLog?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/ChangeLog?r1=1.1&r2=1.2
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lua/luvit/ChangeLog,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- ChangeLog 1 Jan 2013 16:36:54 -0000 1.1
24 +++ ChangeLog 5 Mar 2013 21:09:17 -0000 1.2
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-lua/luvit
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lua/luvit/ChangeLog,v 1.1 2013/01/01 16:36:54 hasufell Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luvit/ChangeLog,v 1.2 2013/03/05 21:09:17 hasufell Exp $
30 +
31 +*luvit-0.6.1 (05 Mar 2013)
32 +
33 + 05 Mar 2013; Julian Ospald <hasufell@g.o> +luvit-0.6.1.ebuild,
34 + luvit-9999.ebuild:
35 + version bump, update live ebuild
36
37 *luvit-9999 (01 Jan 2013)
38 *luvit-0.6_p20121221 (01 Jan 2013)
39
40
41
42 1.2 dev-lua/luvit/luvit-9999.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/luvit-9999.ebuild?rev=1.2&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/luvit-9999.ebuild?rev=1.2&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/luvit-9999.ebuild?r1=1.1&r2=1.2
47
48 Index: luvit-9999.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/dev-lua/luvit/luvit-9999.ebuild,v
51 retrieving revision 1.1
52 retrieving revision 1.2
53 diff -u -r1.1 -r1.2
54 --- luvit-9999.ebuild 1 Jan 2013 16:36:54 -0000 1.1
55 +++ luvit-9999.ebuild 5 Mar 2013 21:09:17 -0000 1.2
56 @@ -1,6 +1,6 @@
57 # Copyright 1999-2013 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/dev-lua/luvit/luvit-9999.ebuild,v 1.1 2013/01/01 16:36:54 hasufell Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luvit/luvit-9999.ebuild,v 1.2 2013/03/05 21:09:17 hasufell Exp $
61
62 EAPI=5
63
64 @@ -28,7 +28,7 @@
65 dev-libs/openssl:0
66 sys-libs/zlib
67 system-libs? (
68 - >=dev-libs/yajl-2.0.2
69 + >=dev-libs/yajl-2.0.4
70 )"
71 DEPEND="${RDEPEND}
72 virtual/pkgconfig"
73
74
75
76 1.1 dev-lua/luvit/luvit-0.6.1.ebuild
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/luvit-0.6.1.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/luvit-0.6.1.ebuild?rev=1.1&content-type=text/plain
80
81 Index: luvit-0.6.1.ebuild
82 ===================================================================
83 # Copyright 1999-2013 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/dev-lua/luvit/luvit-0.6.1.ebuild,v 1.1 2013/03/05 21:09:17 hasufell Exp $
86
87 EAPI=5
88
89 inherit toolchain-funcs multilib
90
91 # TODO: FHS https://github.com/luvit/luvit/issues/379
92
93 DESCRIPTION="Takes node.js' architecture and dependencies and fits it in the Lua language"
94 HOMEPAGE="http://luvit.io/"
95 SRC_URI="http://luvit.io/dist/latest/${P}.tar.gz"
96
97 KEYWORDS="~amd64 ~x86"
98 SLOT="0"
99 IUSE="examples +system-libs"
100 # luvit Apache-2.0
101 # luajit MIT
102 # yajl BSD
103 LICENSE="Apache-2.0 MIT !system-libs? ( BSD )"
104
105 # fails in portage environment
106 # succeeds if run manually
107 RESTRICT="test"
108
109 RDEPEND="
110 dev-libs/openssl:0
111 sys-libs/zlib
112 system-libs? (
113 >=dev-libs/yajl-2.0.4
114 )"
115 DEPEND="${RDEPEND}
116 virtual/pkgconfig"
117
118 src_prepare() {
119 if use system-libs ; then
120 MY_YAJL_VERSION=$(pkg-config --modversion yajl)
121 sed -i \
122 -e "s:^YAJL_VERSION=.*:YAJL_VERSION=${MY_YAJL_VERSION}:" \
123 Makefile || die "setting yajl version failed"
124 fi
125
126 sed -i \
127 -e "s/-Werror//" \
128 -e "s/-O3//" \
129 deps/http-parser/Makefile || die "fixing flags failed!"
130 }
131
132 src_configure() {
133 # skip retarded gyp build system
134 :
135 }
136
137 src_compile() {
138 tc-export CC AR
139
140 myemakeargs=(
141 DEBUG=0
142 WERROR=0
143 USE_SYSTEM_SSL=1
144 # bundled luajit is compiled with special flags
145 USE_SYSTEM_LUAJIT=0
146 USE_SYSTEM_ZLIB=1
147 USE_SYSTEM_YAJL=$(usex system-libs "1" "0")
148 PREFIX=/usr
149 LIBDIR="${D}"/usr/$(get_libdir)/${PN}
150 DESTDIR="${D}"
151 )
152
153 emake "${myemakeargs[@]}" all
154 }
155
156 src_install() {
157 emake "${myemakeargs[@]}" install
158 dodoc TODO ChangeLog README.markdown errors.markdown
159
160 if use examples ; then
161 dodoc -r examples
162 docompress -x /usr/share/doc/${PF}/examples
163 fi
164 }