14ae3e8e43
Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --force
46 lines
870 B
Bash
46 lines
870 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="3"
|
|
RPM_VER="3.1"
|
|
OPSI="opsi40"
|
|
SUSE="openSUSE_13.2"
|
|
|
|
|
|
inherit eutils rpm
|
|
|
|
DESCRIPTION="opsi utils"
|
|
HOMEPAGE="http://opsi.org/"
|
|
SRC_URI="http://download.opensuse.org/repositories/home:/uibmz:/opsi:/${OPSI}/${SUSE}/src/${P}-${RPM_VER}.src.rpm"
|
|
|
|
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
|
|
msgfmt -o fr.mo gettext/opsi-utils_fr.po
|
|
}
|
|
|
|
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
|
|
domo fr.mo
|
|
|
|
insinto /etc/opsi
|
|
doins data/opsi-product-updater.conf
|
|
}
|