2014-01-18 09:25:06 +01:00
|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
2011-11-13 20:49:31 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI=2
|
|
|
|
|
|
|
|
MY_PV=${PV/_p/.pl}
|
|
|
|
|
2014-01-18 09:25:06 +01:00
|
|
|
inherit systemd cmake-utils
|
2011-11-13 20:49:31 +01:00
|
|
|
|
|
|
|
DESCRIPTION="MARtin Stovers NetWare-Emulator"
|
|
|
|
HOMEPAGE="http://www.compu-art.de/mars_nwe/"
|
|
|
|
SRC_URI="http://ftp.disconnected-by-peer.at/ncpfs/mars_nwe-${MY_PV}.tar.bz2"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2012-10-28 06:37:00 +01:00
|
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
2011-11-13 20:49:31 +01:00
|
|
|
IUSE=""
|
|
|
|
|
2011-11-13 21:33:46 +01:00
|
|
|
RDEPEND="sys-libs/glibc
|
2012-10-28 06:37:00 +01:00
|
|
|
sys-libs/gdbm
|
|
|
|
|| ( net-fs/ncpfs net-misc/ipx-utils )"
|
2011-11-13 20:49:31 +01:00
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
S="${WORKDIR}/mars_nwe-${MY_PV}"
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local mycmakeargs=(
|
2014-01-18 09:31:04 +01:00
|
|
|
"-DCMAKE_INSTALL_SYSCONFDIR=/etc" )
|
2011-11-13 20:49:31 +01:00
|
|
|
|
|
|
|
cmake-utils_src_configure
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
keepdir /var/lib/mars_nwe/
|
|
|
|
keepdir /var/log/mars_nwe/
|
|
|
|
keepdir /var/spool/mars_nwe/
|
|
|
|
|
2012-10-28 06:37:00 +01:00
|
|
|
cmake-utils_src_install
|
|
|
|
|
|
|
|
newinitd "${FILESDIR}"/mars-nwe.initd mars-nwe
|
2014-01-18 09:25:06 +01:00
|
|
|
|
|
|
|
systemd_dounit "${FILESDIR}"/mars-nwe.service
|
|
|
|
systemd_newtmpfilesd "${FILESDIR}"/mars-nwe.tmpfilesd mars-nwe.conf
|
2011-11-13 20:49:31 +01:00
|
|
|
}
|
|
|
|
|