2010-01-16 08:06:51 +01:00
|
|
|
# Copyright 1999-2010 Gentoo Technologies, Inc.
|
2009-12-05 16:43:45 +01:00
|
|
|
# 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
|
|
|
|
|
|
|
|
inherit eutils mono autotools
|
|
|
|
|
|
|
|
DESCRIPTION="Simias SimpleServer"
|
|
|
|
HOMEPAGE="http://www.ifolder.com/"
|
2009-12-05 21:41:39 +01:00
|
|
|
SRC_URI="mirror://sourceforge/ifolder3/files/iFolder%20Clients/3.8.0/${P}.tar.gz
|
|
|
|
http://ftp.mars.arge.at/ifolder/${P}.tar.gz"
|
2009-12-05 16:43:45 +01:00
|
|
|
RESTRICT="mirror"
|
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
KEYWORDS="~x86 ~amd64"
|
|
|
|
|
|
|
|
DEPEND=">=dev-lang/mono-2.4
|
|
|
|
>=dev-dotnet/xsp-2.4
|
|
|
|
>=dev-dotnet/log4net-1.2.9
|
|
|
|
>=dev-db/libflaim-4.9.617
|
|
|
|
>=net-libs/gsoap-2.7.1
|
|
|
|
!www-apps/ifolder-server"
|
|
|
|
|
2009-12-05 21:41:39 +01:00
|
|
|
#S=${WORKDIR}/${PN}
|
2009-12-05 16:43:45 +01:00
|
|
|
|
2010-01-30 06:59:28 +01:00
|
|
|
pkg_setup() {
|
|
|
|
if [[ $(gcc-major-version) -eq 4 ]]; then
|
|
|
|
if [[ $(gcc-minor-version) -ge 3 ]]; then
|
|
|
|
eerror "simias requires <gcc-4.4 in order to work correctly"
|
|
|
|
eerror "please compile it switching to gcc-4.3."
|
|
|
|
die "gcc 4.4 cannot build simias"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2009-12-05 16:43:45 +01:00
|
|
|
src_prepare() {
|
2010-01-16 17:07:24 +01:00
|
|
|
rm -rf dependencies
|
2009-12-05 16:43:45 +01:00
|
|
|
# epatch "${FILESDIR}"/configure.in-xsp-check-by-dl9pf-version3.diff
|
|
|
|
# epatch "${FILESDIR}"/simias-libtool22-1.patch
|
2010-01-16 10:40:59 +01:00
|
|
|
epatch "${FILESDIR}"/simias-1.8-mono22-4.patch
|
2009-12-05 16:43:45 +01:00
|
|
|
# epatch "${FILESDIR}"/simias-mononamespace.dpatch
|
|
|
|
# epatch "${FILESDIR}"/simias-etc_use_destdir.dpatch
|
|
|
|
# epatch "${FILESDIR}"/simias-bash.dpatch
|
2010-01-28 22:10:12 +01:00
|
|
|
epatch "${FILESDIR}"/simias-1.8.2-libflaim.patch
|
|
|
|
# epatch "${FILESDIR}"/simias-libflaim_shared-1.patch
|
2009-12-05 17:35:43 +01:00
|
|
|
epatch "${FILESDIR}"/simias-1.8-use_system_gsoap-2.patch
|
2009-12-05 16:43:45 +01:00
|
|
|
# epatch "${FILESDIR}"/simias-recovery_agent-fix-1.patch
|
|
|
|
# epatch "${FILESDIR}"/WSDLPATCH-1.diff
|
2010-01-16 17:07:24 +01:00
|
|
|
epatch "${FILESDIR}"/simias-1.8.3.9328.1-system_xsp-1.patch
|
2009-12-05 16:43:45 +01:00
|
|
|
eautoreconf || die "eautoreconf failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf --with-runasclient --with-simiasdatadir="\${HOME}/.local/share/simias" || die "configure failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
emake -j1 || die "build failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" install || die "install failed"
|
|
|
|
}
|