2017-03-05 13:14:09 +01:00
|
|
|
# Copyright 1999-2017 Gentoo Foundation
|
2011-11-12 19:21:01 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="3"
|
2017-03-05 13:14:09 +01:00
|
|
|
RPM_VER="3.1"
|
2014-12-12 16:14:49 +01:00
|
|
|
OPSI="opsi40"
|
2015-10-17 18:10:00 +02:00
|
|
|
SUSE="openSUSE_13.2"
|
2014-01-22 21:32:09 +01:00
|
|
|
|
2011-11-12 19:21:01 +01:00
|
|
|
|
|
|
|
inherit eutils rpm
|
|
|
|
|
|
|
|
DESCRIPTION="opsi utils"
|
|
|
|
HOMEPAGE="http://opsi.org/"
|
2014-01-22 21:32:09 +01:00
|
|
|
SRC_URI="http://download.opensuse.org/repositories/home:/uibmz:/opsi:/${OPSI}/${SUSE}/src/${P}-${RPM_VER}.src.rpm"
|
2011-11-12 19:21:01 +01:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND="dev-python/python-opsi"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
sys-devel/gettext"
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
msgfmt -o de.mo gettext/opsi-utils_de.po
|
2013-04-16 20:50:57 +02:00
|
|
|
msgfmt -o fr.mo gettext/opsi-utils_fr.po
|
2011-11-12 19:21:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
dobin opsi-admin
|
|
|
|
dobin opsi-newprod
|
|
|
|
dobin opsi-makeproductfile
|
|
|
|
dobin opsi-package-manager
|
|
|
|
dobin opsi-product-updater
|
|
|
|
dobin opsi-convert
|
|
|
|
dobin opsi-backup
|
|
|
|
|
|
|
|
domo de.mo
|
2013-04-16 20:50:57 +02:00
|
|
|
domo fr.mo
|
2011-11-12 19:21:01 +01:00
|
|
|
|
|
|
|
insinto /etc/opsi
|
|
|
|
doins data/opsi-product-updater.conf
|
|
|
|
}
|