blob: 689ed87aa552e0a86f3ba0df4788361d92626fad (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono-fuse/mono-fuse-0.4.1.ebuild,v 1.3 2008/12/14 15:20:32 loki_val Exp $
inherit autotools mono
DESCRIPTION="C# binding for the FUSE library"
HOMEPAGE="http://www.jprl.com/Projects/mono-fuse/"
SRC_URI="http://www.jprl.com/Projects/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
DEPEND=">=dev-lang/mono-1.1.13
>=virtual/monodoc-1.1.13
>=sys-fs/fuse-2.5.2"
src_unpack() {
unpack ${A}
cd ${S}
sed -i -e 's#^AC_CHECK_LIB(MonoPosixHelper.*$##' \
configure.in || die "sed failed"
eautoreconf || die "eautoreconf failed"
}
src_compile()
{
econf || die "configure failed"
emake -j1 || die "make failed"
}
src_install()
{
emake DESTDIR="${D}" install || die "install failed"
dodoc ChangeLog README COPYING
if use examples; then
insinto /usr/share/doc/${PF}
doins -r example
fi
}
pkg_postinst()
{
elog "Ensure that you have the fuse module loaded"
elog "before you start using mono-fuse"
}
|