diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-06 16:23:01 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-06 16:23:01 +0000 |
commit | 8f9b80f494d13484a9ffbc166e214556d12d9ff9 (patch) | |
tree | e9f86655b9b05a76241855d563e66eafca143610 /net-p2p/microdc2/microdc2-0.15.6-r2.ebuild | |
parent | x86 stable wrt bug #304777 (diff) | |
download | historical-8f9b80f494d13484a9ffbc166e214556d12d9ff9.tar.gz historical-8f9b80f494d13484a9ffbc166e214556d12d9ff9.tar.bz2 historical-8f9b80f494d13484a9ffbc166e214556d12d9ff9.zip |
Import Debian patchset. This will link against system libbz2 wrt #298100 and rename manpage wrt #295843.
Package-Manager: portage-2.2_rc63/cvs/Linux x86_64
Diffstat (limited to 'net-p2p/microdc2/microdc2-0.15.6-r2.ebuild')
-rw-r--r-- | net-p2p/microdc2/microdc2-0.15.6-r2.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/net-p2p/microdc2/microdc2-0.15.6-r2.ebuild b/net-p2p/microdc2/microdc2-0.15.6-r2.ebuild new file mode 100644 index 000000000000..08011896421b --- /dev/null +++ b/net-p2p/microdc2/microdc2-0.15.6-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 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-r2.ebuild,v 1.1 2010/03/06 16:23:01 ssuominen Exp $ + +inherit autotools 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://debian/pool/main/m/${PN}/${PN}_${PV}-1.debian.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND="app-arch/bzip2 + >=dev-libs/libxml2-2.6.16 + sys-libs/ncurses + >=sys-libs/readline-4" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + + local dpatch="${WORKDIR}/debian/patches" + + epatch \ + "${dpatch}"/disable-libxml2-version-check \ + "${dpatch}"/rename-manpage \ + "${dpatch}"/disable-make-tthsum \ + "${dpatch}"/debian-link-system-bz2 + + eautoreconf +} + +src_compile() { + econf \ + $(use_enable nls) + + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README doc/* +} |