blob: 778182ff46b4a19c7a9f0dc7625724d443017b75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/anyterm-1.1.28.ebuild,v 1.1 2009/01/24 14:22:38 pva Exp $
EAPI=2
inherit eutils flag-o-matic
DESCRIPTION="A terminal anywhere."
HOMEPAGE="http://anyterm.org/"
SRC_URI="http://anyterm.org/download/${P}.tbz2"
LICENSE="GPL-2 Boost-1.0"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=dev-libs/boost-1.34.1
virtual/ssh"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-respect-LDFLAGS.patch"
}
src_compile() {
# this package uses `ld -r -b binary` and thus resulting executalbe contains
# executable stack
append-ldflags -Wl,-z,noexecstack
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
}
src_install() {
dosbin anytermd || die
dodoc CHANGELOG README || die
doman anytermd.1 || die
newinitd "${FILESDIR}/anyterm.init.d" anyterm || die
newconfd "${FILESDIR}/anyterm.conf.d" anyterm || die
}
pkg_postinst() {
elog "To proceed installation, read following:"
elog "http://anyterm.org/1.1/install.html"
}
|