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

37 lines
888 B
Bash
Raw Normal View History

# Copyright 1999-2013 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="1.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:/opsi40-testing/openSUSE_12.2/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
}