2015-07-30 15:13:20 +02:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2013-04-20 08:03:40 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/Attic/xsp-2.6.5.ebuild,v 1.5 2011/07/08 09:59:55 pacho dead $
|
|
|
|
|
|
|
|
EAPI=2
|
|
|
|
|
|
|
|
inherit go-mono mono
|
|
|
|
|
|
|
|
PATCHDIR="${FILESDIR}/2.2/"
|
|
|
|
|
|
|
|
DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
|
|
|
|
HOMEPAGE="http://www.go-mono.com/"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
2015-07-30 15:13:20 +02:00
|
|
|
KEYWORDS="amd64 arm ppc x86"
|
2013-04-20 08:03:40 +02:00
|
|
|
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND="dev-db/sqlite:3"
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
MAKEOPTS="${MAKEOPTS} -j1"
|
|
|
|
|
|
|
|
pkg_preinst() {
|
|
|
|
enewgroup aspnet
|
|
|
|
# Give aspnet home dir of /tmp since it must create ~/.wapi
|
|
|
|
enewuser aspnet -1 -1 /tmp aspnet
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
mv_command="cp -ar" go-mono_src_install
|
|
|
|
newinitd "${PATCHDIR}"/xsp.initd xsp || die
|
|
|
|
newinitd "${PATCHDIR}"/mod-mono-server.initd mod-mono-server || die
|
|
|
|
newconfd "${PATCHDIR}"/xsp.confd xsp || die
|
|
|
|
newconfd "${PATCHDIR}"/mod-mono-server.confd mod-mono-server || die
|
|
|
|
|
|
|
|
keepdir /var/run/aspnet
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
chown aspnet:aspnet /var/run/aspnet
|
|
|
|
}
|