/[gentoo-x86]/www-servers/mongoose/mongoose-5.3.ebuild
Gentoo

Diff of /www-servers/mongoose/mongoose-5.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/www-servers/mongoose/mongoose-5.3.ebuild,v 1.1 2014/06/06 04:22:17 zmedico Exp $ 3# $Header: /var/cvsroot/gentoo-x86/www-servers/mongoose/mongoose-5.3.ebuild,v 1.2 2015/03/20 16:46:44 jlec Exp $
4 4
5EAPI=5 5EAPI=5
6
6inherit toolchain-funcs 7inherit toolchain-funcs
7 8
8DESCRIPTION="easy to use web server" 9DESCRIPTION="easy to use web server"
9SRC_URI="https://github.com/cesanta/${PN}/archive/${PV}.zip -> ${P}.zip" 10SRC_URI="https://github.com/cesanta/${PN}/archive/${PV}.zip -> ${P}.zip"
10HOMEPAGE="https://code.google.com/p/${PN}/" 11HOMEPAGE="https://code.google.com/p/${PN}/"
12
11LICENSE="GPL-2" 13LICENSE="GPL-2"
12SLOT="0" 14SLOT="0"
13KEYWORDS="~amd64 ~amd64-linux ~x86 ~arm-linux ~x86-linux" 15KEYWORDS="~amd64 ~amd64-linux ~x86 ~arm-linux ~x86-linux"
14IUSE="lua" 16IUSE="lua"
17
15RDEPEND="lua? ( >=dev-lang/lua-5.2.3:5.2= )" 18RDEPEND="lua? ( >=dev-lang/lua-5.2.3:5.2= )"
16DEPEND="${RDEPEND}" 19DEPEND="${RDEPEND}"
20
17S=${WORKDIR}/${P}/examples 21S=${WORKDIR}/${P}/examples
18 22
19src_prepare() { 23src_prepare() {
20 if use lua ; then 24 if use lua ; then
21 sed \ 25 sed \
36src_test() { 40src_test() {
37 emake u 41 emake u
38} 42}
39 43
40src_install() { 44src_install() {
41 exeinto /usr/bin
42 newexe "${S}/server" "${PN}" 45 newbin "${S}/server" "${PN}"
43 dodoc ../docs/{FAQ,LuaSqlite,Options,SSL,Usage}.md 46 dodoc ../docs/{FAQ,LuaSqlite,Options,SSL,Usage}.md
44} 47}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20