/[gentoo-x86]/net-misc/ajaxterm/ajaxterm-0.10.ebuild
Gentoo

Contents of /net-misc/ajaxterm/ajaxterm-0.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Apr 6 19:31:40 2012 UTC (8 years, 6 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove.

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/ajaxterm/ajaxterm-0.10.ebuild,v 1.4 2011/03/30 23:19:19 arfrever Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2"
7
8 inherit python
9
10 MY_P="Ajaxterm-${PV}"
11
12 DESCRIPTION="Ajaxterm is a web based terminal"
13 HOMEPAGE="http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm"
14 SRC_URI="http://antony.lesuisse.org/qweb/files/${MY_P}.tar.gz"
15
16 LICENSE="public-domain LGPL-2"
17 SLOT="0"
18 KEYWORDS="~amd64 ~arm ~sparc ~x86"
19 IUSE=""
20
21 DEPEND=""
22 RDEPEND=""
23
24 S="${WORKDIR}/${MY_P}"
25
26 pkg_setup() {
27 python_set_active_version 2
28 python_pkg_setup
29 }
30
31 src_prepare() {
32 python_convert_shebangs -r 2 .
33
34 # baselayout's start-stop-daemon wrapper does not allow shell scripts
35 sed -i -e "s: -- :\0/usr/share/ajaxterm/ajaxterm.py :" \
36 -e "s:\(DAEMON=%(bin)s/\)ajaxterm:\1python:" configure.initd.gentoo
37 }
38
39 src_configure() {
40 ./configure --prefix=/usr || die "./configure failed"
41 }
42
43 src_install() {
44 dodir /etc/init.d
45 sed -i -e "s:\"/usr:\"${D}/usr:" \
46 -e "s:\"/etc:\"${D}/etc:" \
47 -e "s:/usr/man:/usr/share/man:" Makefile
48 emake install || die "emake install failed"
49 }
50
51 pkg_postinst() {
52 ewarn "For remote access, it is strongly recommended to use https SSL/TLS"
53 ewarn "On the website is a config for apache web server using mod_proxy"
54 }

  ViewVC Help
Powered by ViewVC 1.1.20