diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-10-14 17:33:41 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-10-14 17:33:41 +0000 |
commit | 1071f7da0a58e78ed54b9131e77d66cd81f3db34 (patch) | |
tree | a2c31902569a99c00b7425743757d02f2732b7fa /sys-cluster/pconsole/pconsole-1.0-r3.ebuild | |
parent | Remove old. (diff) | |
download | historical-1071f7da0a58e78ed54b9131e77d66cd81f3db34.tar.gz historical-1071f7da0a58e78ed54b9131e77d66cd81f3db34.tar.bz2 historical-1071f7da0a58e78ed54b9131e77d66cd81f3db34.zip |
Respect LDFLAGS wrt bug 339197. Thanks to Diego for the report. Simplify ebuild, correct dependencies. Drop old.
Package-Manager: portage-2.2_rc90/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster/pconsole/pconsole-1.0-r3.ebuild')
-rw-r--r-- | sys-cluster/pconsole/pconsole-1.0-r3.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-cluster/pconsole/pconsole-1.0-r3.ebuild b/sys-cluster/pconsole/pconsole-1.0-r3.ebuild new file mode 100644 index 000000000000..581dc6cf825a --- /dev/null +++ b/sys-cluster/pconsole/pconsole-1.0-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pconsole/pconsole-1.0-r3.ebuild,v 1.1 2010/10/14 17:33:41 xarthisius Exp $ + +EAPI=2 + +inherit eutils toolchain-funcs + +DESCRIPTION="Tool for managing multiple xterms simultaneously." +HOMEPAGE="http://www.heiho.net/pconsole/" +SRC_URI="http://www.xs4all.nl/~walterj/pconsole/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="virtual/ssh" + +src_prepare() { + epatch "${FILESDIR}"/${P}-exit-warn.patch +} + +src_compile() { + emake LFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" \ + CC="$(tc-getCC)" || die +} + +src_install() { + dobin pconsole || die + fperms 4110 /usr/bin/pconsole || die + dodoc ChangeLog README.pconsole || die + dohtml public_html/pconsole.html || die +} + +pkg_postinst() { + echo + ewarn "Warning:" + ewarn "pconsole installed with suid root!" + echo +} |