linamh/net-fs/mars-nwe/mars-nwe-0.99_p23.ebuild

51 lines
976 B
Bash
Raw Normal View History

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# $Header: $
2022-03-01 11:46:08 +01:00
EAPI=7
MY_PV=${PV/_p/.pl}
2022-11-19 21:49:12 +01:00
inherit systemd cmake
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"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="sys-libs/glibc
sys-libs/gdbm
2022-03-01 11:46:08 +01:00
|| ( net-misc/ipx-utils net-fs/ncpfs )"
DEPEND="${RDEPEND}"
S="${WORKDIR}/mars_nwe-${MY_PV}"
2022-11-19 21:49:12 +01:00
PATCHES=(
"${FILESDIR}"/mars-nwe-syslog.patch
)
src_configure() {
local mycmakeargs=(
"-DCMAKE_INSTALL_SYSCONFDIR=/etc" )
2022-11-19 21:49:12 +01:00
cmake_src_configure
}
src_install() {
keepdir /var/lib/mars_nwe/
keepdir /var/log/mars_nwe/
keepdir /var/spool/mars_nwe/
2022-11-19 21:49:12 +01:00
cmake_src_install
newinitd "${FILESDIR}"/mars-nwe.initd mars-nwe
systemd_dounit "${FILESDIR}"/mars-nwe.service
systemd_newtmpfilesd "${FILESDIR}"/mars-nwe.tmpfilesd mars-nwe.conf
}