summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/microdc2/microdc2-0.15.6-r1.ebuild')
-rw-r--r--net-p2p/microdc2/microdc2-0.15.6-r1.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/net-p2p/microdc2/microdc2-0.15.6-r1.ebuild b/net-p2p/microdc2/microdc2-0.15.6-r1.ebuild
new file mode 100644
index 000000000000..7381f8b0c8ea
--- /dev/null
+++ b/net-p2p/microdc2/microdc2-0.15.6-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/microdc2/microdc2-0.15.6-r1.ebuild,v 1.1 2009/11/08 19:30:29 armin76 Exp $
+
+inherit eutils
+
+DESCRIPTION="A small command-line based Direct Connect client"
+HOMEPAGE="http://corsair626.no-ip.org/microdc/"
+SRC_URI="http://corsair626.no-ip.org/microdc/${P}.tar.gz
+ mirror://gentoo/${P}-patches-0.1.tar.bz2
+ http://dev.gentoo.org/~armin76/dist/${P}-patches-0.1.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+DEPEND=">=dev-libs/libxml2-2.6.16
+ sys-libs/ncurses
+ >=sys-libs/readline-4
+ nls? ( sys-devel/gettext )"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ EPATCH_SOURCE="${WORKDIR}/patch" EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" epatch
+}
+
+src_compile() {
+ econf $(use_enable nls) || die "econf failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README doc/*
+}