summaryrefslogtreecommitdiff
blob: d88c370924fda6932154a7886efd8b6d97ab41c9 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/edtftpnet/edtftpnet-1.2.5.ebuild,v 1.3 2007/07/27 07:01:29 opfer Exp $

inherit eutils mono

DESCRIPTION="FTP client library for .NET"
HOMEPAGE="http://www.enterprisedt.com/products/edtftpnet/"
SRC_URI="http://www.enterprisedt.com/products/${PN}/download/${P}.zip"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"

IUSE="doc examples"
DEPEND=">=dev-lang/mono-1.2.1
		app-arch/unzip"

RDEPEND="${DEPEND}"

src_install() {
	GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /package ${PN}"
	/usr/bin/gacutil /i ./bin/edtFTPnet.dll ${GACUTIL_FLAGS}

	dodoc readme.html

	if use doc; then
		insinto /usr/share/doc/${PF}
		doins -r doc/*
	fi

	if use examples; then
		insinto /usr/share/doc/${PF}
		doins -r examples
	fi
}