1 |
rafaelmartins 10/11/05 21:31:09 |
2 |
|
3 |
Added: metadata.xml luasocket-2.0.2.ebuild ChangeLog |
4 |
Log: |
5 |
Moved from dev-libs to dev-lua. |
6 |
|
7 |
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-lua/luasocket/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luasocket/metadata.xml?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luasocket/metadata.xml?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
<?xml version="1.0" encoding="UTF-8"?> |
18 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 |
<pkgmetadata> |
20 |
<herd>no-herd</herd> |
21 |
<maintainer> |
22 |
<email>flameeyes@g.o</email> |
23 |
<description> |
24 |
I need this for app-crypt/ekeyd, if you care about this for LUA, |
25 |
or for any other reason, you're free to pick it up; please just |
26 |
leave the unix socket support in, thanks! |
27 |
</description> |
28 |
</maintainer> |
29 |
</pkgmetadata> |
30 |
|
31 |
|
32 |
|
33 |
1.1 dev-lua/luasocket/luasocket-2.0.2.ebuild |
34 |
|
35 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luasocket/luasocket-2.0.2.ebuild?rev=1.1&view=markup |
36 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luasocket/luasocket-2.0.2.ebuild?rev=1.1&content-type=text/plain |
37 |
|
38 |
Index: luasocket-2.0.2.ebuild |
39 |
=================================================================== |
40 |
# Copyright 1999-2010 Gentoo Foundation |
41 |
# Distributed under the terms of the GNU General Public License v2 |
42 |
# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasocket/luasocket-2.0.2.ebuild,v 1.1 2010/11/05 21:31:09 rafaelmartins Exp $ |
43 |
|
44 |
EAPI=2 |
45 |
|
46 |
inherit multilib toolchain-funcs flag-o-matic eutils |
47 |
|
48 |
DESCRIPTION="Networking support library for the Lua language." |
49 |
HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/" |
50 |
SRC_URI="http://luaforge.net/frs/download.php/2664/${P}.tar.gz" |
51 |
|
52 |
LICENSE="MIT" |
53 |
SLOT="0" |
54 |
KEYWORDS="~amd64 ~x86" |
55 |
IUSE="debug" |
56 |
|
57 |
RDEPEND=">=dev-lang/lua-5.1[deprecated]" |
58 |
DEPEND="${RDEPEND} |
59 |
dev-util/pkgconfig" |
60 |
|
61 |
src_prepare() { |
62 |
# Unix socket support is needed by app-crypt/ekeyd, but upstream |
63 |
# does not seem to enable it by default. |
64 |
epatch "${FILESDIR}"/${P}-unixsocket.patch |
65 |
} |
66 |
|
67 |
src_compile() { |
68 |
# We append flags here to avoid editing the config file |
69 |
use debug && append-flags -DLUASOCKET_DEBUG |
70 |
append-flags -fPIC |
71 |
|
72 |
emake \ |
73 |
CFLAGS="${CFLAGS}" \ |
74 |
LDFLAGS="${LDFLAGS}" \ |
75 |
CC="$(tc-getCC)" \ |
76 |
LD="$(tc-getCC) -shared" \ |
77 |
|| die |
78 |
} |
79 |
|
80 |
src_install() { |
81 |
emake install \ |
82 |
INSTALL_TOP_SHARE="${D}/$(pkg-config --variable INSTALL_LMOD lua)" \ |
83 |
INSTALL_TOP_LIB="${D}/$(pkg-config --variable INSTALL_CMOD lua | sed -e "s:lib/:$(get_libdir)/:")" \ |
84 |
|| die |
85 |
|
86 |
dodoc NEW README || die |
87 |
dohtml doc/* || die |
88 |
} |
89 |
|
90 |
|
91 |
|
92 |
1.1 dev-lua/luasocket/ChangeLog |
93 |
|
94 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luasocket/ChangeLog?rev=1.1&view=markup |
95 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luasocket/ChangeLog?rev=1.1&content-type=text/plain |
96 |
|
97 |
Index: ChangeLog |
98 |
=================================================================== |
99 |
# ChangeLog for dev-lua/luasocket |
100 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
101 |
# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasocket/ChangeLog,v 1.1 2010/11/05 21:31:09 rafaelmartins Exp $ |
102 |
|
103 |
05 Nov 2010; Rafael G. Martins <rafaelmartins@g.o> |
104 |
+luasocket-2.0.2.ebuild, +files/luasocket-2.0.2-unixsocket.patch, |
105 |
+metadata.xml: |
106 |
Moved from dev-libs to dev-lua. |
107 |
|
108 |
*luasocket-2.0.2 (28 Sep 2009) |
109 |
|
110 |
28 Sep 2009; Diego E. Pettenò <flameeyes@g.o> |
111 |
+luasocket-2.0.2.ebuild, +files/luasocket-2.0.2-unixsocket.patch, |
112 |
+metadata.xml: |
113 |
Initial import of luasocket (needed for ekeyd); thanks to Pierre |
114 |
Guinoiseau in bug #239540 for the basic ebuild. |