sys-apps/osinfo-db: initial package after split from sys-libs/libosinfo
authorMart Raudsepp <leio@gentoo.org>
Tue, 28 Mar 2017 19:19:29 +0000 (22:19 +0300)
committerMart Raudsepp <leio@gentoo.org>
Tue, 28 Mar 2017 19:38:27 +0000 (22:38 +0300)
Gentoo-bug: 605124

sys-apps/osinfo-db/Manifest [new file with mode: 0644]
sys-apps/osinfo-db/metadata.xml [new file with mode: 0644]
sys-apps/osinfo-db/osinfo-db-20170326.ebuild [new file with mode: 0644]

diff --git a/sys-apps/osinfo-db/Manifest b/sys-apps/osinfo-db/Manifest
new file mode 100644 (file)
index 0000000..b4c194e
--- /dev/null
@@ -0,0 +1 @@
+DIST osinfo-db-20170326.tar.xz 62696 SHA256 348e216cf26f905190de2bef321d2c0d3f3953775370cf6f58b81f4cc40ac7ee SHA512 06470488ea7442f1dacd2309a7c85ec90f05f55ad3b1f138e32e620f13b70addc203710e7c4cac840151899035fe61ca0ca93d73fdfbb7232d1425e9e5a593c5 WHIRLPOOL f4f23f1f14bbd0a1f827e9cf234d7a5ab6df50057fc96ad2633152b538884cf1391c3cb7d74b6c88ced12d192df47f3e479280d61654102ff8289795788f3a84
diff --git a/sys-apps/osinfo-db/metadata.xml b/sys-apps/osinfo-db/metadata.xml
new file mode 100644 (file)
index 0000000..3998080
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+       <email>gnome@gentoo.org</email>
+       <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-apps/osinfo-db/osinfo-db-20170326.ebuild b/sys-apps/osinfo-db/osinfo-db-20170326.ebuild
new file mode 100644 (file)
index 0000000..b902c36
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="osinfo database files"
+HOMEPAGE="http://libosinfo.org/"
+SRC_URI="https://releases.pagure.org/libosinfo/${P}.tar.xz"
+S="${WORKDIR}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+       sys-apps/osinfo-db-tools
+"
+# we don't depend on intltool here, contrary to README, as the tarball already
+# contains the processed results with translations in XML files
+
+src_unpack() { :; }
+
+src_install() {
+       osinfo-db-import --root "${D}" --dir "/usr/share/osinfo" "${DISTDIR}/${A}"
+}