ifolder/net-misc/simias/simias-1.8_pre7061.ebuild
2009-04-30 13:32:53 +00:00

57 lines
1.5 KiB
Bash

# Copyright 1999-2009 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
WANT_AUTOMAKE=1.9
ESVN_REPO_URI="https://forgesvn1.novell.com/svn/simias/trunk/@${PV/1.8_pre/}"
inherit eutils mono autotools subversion
DESCRIPTION="Simias SimpleServer"
HOMEPAGE="http://www.ifolder.com/"
#SRC_URI="http://distfiles.one-gear.com/distfiles/${P}.tar.gz"
RESTRICT="mirror"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
DEPEND=">=dev-lang/mono-2.2
>=dev-dotnet/xsp-1.2.1
>=dev-dotnet/log4net-1.2.9
>=dev-db/libflaim-4.9.617
>=net-libs/gsoap-2.7.1
!www-apps/ifolder-server"
S=${WORKDIR}/${PN}
src_prepare() {
# epatch "${FILESDIR}"/configure.in-xsp-check-by-dl9pf-version3.diff
# epatch "${FILESDIR}"/simias-libtool22-1.patch
epatch "${FILESDIR}"/simias-1.8-mono22-3.patch
# epatch "${FILESDIR}"/simias-mononamespace.dpatch
# epatch "${FILESDIR}"/simias-etc_use_destdir.dpatch
# epatch "${FILESDIR}"/simias-bash.dpatch
# epatch "${FILESDIR}"/simias_make_gcc43_happy.diff
epatch "${FILESDIR}"/simias-libflaim_shared-1.patch
epatch "${FILESDIR}"/simias-1.8-use_system_gsoap-2.patch
# epatch "${FILESDIR}"/simias-recovery_agent-fix-1.patch
epatch "${FILESDIR}"/WSDLPATCH-1.diff
eautoreconf || die "eautoreconf failed"
}
src_configure() {
econf --with-runasclient || die "configure failed"
}
src_compile() {
emake -j1 || die "build failed"
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
}