opsi/net-misc/opsipxeconfd/opsipxeconfd-4.0.5.3.ebuild

39 lines
910 B
Bash
Raw Normal View History

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.12.2-r1.ebuild,v 1.1 2011/12/31 20:17:50 idl0r Exp $
EAPI="2"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
RPM_VER="6.1"
OPSI="opsi40"
SUSE="openSUSE_13.1"
inherit distutils eutils rpm
DESCRIPTION="opsi pxe configuration service"
HOMEPAGE="http://opsi.org"
LICENSE="GPL-2"
SRC_URI="http://download.opensuse.org/repositories/home:/uibmz:/opsi:/${OPSI}/${SUSE}/src/${P}-${RPM_VER}.src.rpm"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~arm ~x86"
RDEPEND="dev-python/python-opsi
net-ftp/opsi-atftp
net-misc/opsi-linux-bootimage"
DEPEND="${RDEPEND}
dev-python/setuptools"
src_install() {
distutils_src_install
newconfd "${FILESDIR}"/opsipxeconfd.confd opsipxeconfd
newinitd "${FILESDIR}"/opsipxeconfd.initd opsipxeconfd
}