summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/utelnetd/utelnetd-0.1.9-r1.ebuild')
-rw-r--r--net-misc/utelnetd/utelnetd-0.1.9-r1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/net-misc/utelnetd/utelnetd-0.1.9-r1.ebuild b/net-misc/utelnetd/utelnetd-0.1.9-r1.ebuild
new file mode 100644
index 00000000000..a7b58fc0458
--- /dev/null
+++ b/net-misc/utelnetd/utelnetd-0.1.9-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit toolchain-funcs
+
+DESCRIPTION="A small Telnet daemon, derived from the Axis tools"
+HOMEPAGE="http://www.pengutronix.de/software/utelnetd_en.html"
+SRC_URI="http://www.pengutronix.de/software/utelnetd/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
+IUSE=""
+
+DEPEND="virtual/shadow"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/(STRIP)/d" \
+ -e "/^CC/s:=.*:= $(tc-getCC):" \
+ Makefile || die
+}
+
+src_install() {
+ dosbin utelnetd || die
+ dodoc ChangeLog README
+
+ newinitd "${FILESDIR}"/utelnetd.initd utelnetd
+}