Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/webmcp: ChangeLog webmcp-1.2.6.ebuild
Date: Wed, 27 May 2015 19:15:31
Message-Id: 20150527191528.03C24A0C@oystercatcher.gentoo.org
1 tupone 15/05/27 19:15:28
2
3 Modified: ChangeLog
4 Added: webmcp-1.2.6.ebuild
5 Log:
6 Version bump to 1.2.6
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0145142D)
9
10 Revision Changes Path
11 1.5 www-apps/webmcp/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/webmcp/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/webmcp/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/webmcp/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-apps/webmcp/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 28 Dec 2014 17:00:50 -0000 1.4
24 +++ ChangeLog 27 May 2015 19:15:27 -0000 1.5
25 @@ -1,6 +1,12 @@
26 # ChangeLog for www-apps/webmcp
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-apps/webmcp/ChangeLog,v 1.4 2014/12/28 17:00:50 titanofold Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/www-apps/webmcp/ChangeLog,v 1.5 2015/05/27 19:15:27 tupone Exp $
31 +
32 +*webmcp-1.2.6 (27 May 2015)
33 +
34 + 27 May 2015; Alfredo Tupone <tupone@g.o> +webmcp-1.2.6.ebuild,
35 + +files/webmcp-1.2.6-gentoo.patch:
36 + Version bump to 1.2.6
37
38 28 Dec 2014; Aaron W. Swenson <titanofold@g.o> webmcp-1.2.5.ebuild:
39 Rename virtual/postgresql to dev-db/postgresql
40
41
42
43 1.1 www-apps/webmcp/webmcp-1.2.6.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/webmcp/webmcp-1.2.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/webmcp/webmcp-1.2.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: webmcp-1.2.6.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/www-apps/webmcp/webmcp-1.2.6.ebuild,v 1.1 2015/05/27 19:15:27 tupone Exp $
53
54 EAPI=4
55
56 inherit eutils toolchain-funcs
57
58 MY_P=${PN}-v${PV}
59 DESCRIPTION="Web application framework written in Lua and C"
60 HOMEPAGE="http://www.public-software-group.org/webmcp"
61 SRC_URI="http://www.public-software-group.org/pub/projects/${PN}/v${PV}/${MY_P}.tar.gz"
62
63 LICENSE="HPND"
64 KEYWORDS="~amd64"
65 SLOT=0
66 IUSE=""
67
68 RDEPEND="dev-lang/lua
69 dev-db/postgresql"
70 DEPEND="${RDEPEND}"
71
72 S="${WORKDIR}"/${MY_P}
73
74 src_prepare() {
75 epatch "${FILESDIR}"/${P}-gentoo.patch
76 }
77
78 src_compile() {
79 emake CC=$(tc-getCC) LD=$(tc-getCC)
80 # Dereference symlinks
81 cd framework
82 mkdir lib.link
83 mv lib/* lib.link
84 cp lib.link/* lib
85 }
86
87 src_install() {
88 into /usr/lib/${PN}
89 dolib.so framework/lib/*.so
90 for subdir in "" ".precompiled"; do
91 MY_DEST=/usr/lib/${PN}/framework${subdir}
92
93 cd framework${subdir}
94 exeinto ${MY_DEST}/accelerator
95 doexe accelerator/webmcp_accelerator.so
96 insinto ${MY_DEST}
97 doins -r env js
98 exeinto ${MY_DEST}/cgi-bin
99 doexe cgi-bin/webmcp*.lua
100 into ${MY_DEST}
101 dobin bin/*
102 insinto ${MY_DEST}/lib
103 doins lib/*.lua
104 cd ..
105
106 for file in extos.so mondelefant_native.so multirand.so; do
107 dosym ../../$(get_libdir)/$file ${MY_DEST}/lib/$file
108 done
109
110 insinto /usr/share/${PN}
111 doins -r demo-app${subdir}
112 done
113 dodoc doc/*sample.conf libraries/mondelefant/example.lua
114 dohtml doc/autodoc.html
115 }