summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2017-03-28 22:19:29 +0300
committerMart Raudsepp <leio@gentoo.org>2017-03-28 22:38:27 +0300
commit494f8a6f5861f351a08170a689c3c7fa4d33b6e1 (patch)
treeb85def830cb1970149915ef18d2397f5b9eccb45
parentsys-apps/osinfo-db-tools: initial package after split from sys-libs/libosinfo (diff)
downloadgentoo-494f8a6f5861f351a08170a689c3c7fa4d33b6e1.tar.gz
gentoo-494f8a6f5861f351a08170a689c3c7fa4d33b6e1.tar.bz2
gentoo-494f8a6f5861f351a08170a689c3c7fa4d33b6e1.zip
sys-apps/osinfo-db: initial package after split from sys-libs/libosinfo
Gentoo-bug: 605124
-rw-r--r--sys-apps/osinfo-db/Manifest1
-rw-r--r--sys-apps/osinfo-db/metadata.xml8
-rw-r--r--sys-apps/osinfo-db/osinfo-db-20170326.ebuild27
3 files changed, 36 insertions, 0 deletions
diff --git a/sys-apps/osinfo-db/Manifest b/sys-apps/osinfo-db/Manifest
new file mode 100644
index 000000000000..b4c194e4acdd
--- /dev/null
+++ b/sys-apps/osinfo-db/Manifest
@@ -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
index 000000000000..39980802b1da
--- /dev/null
+++ b/sys-apps/osinfo-db/metadata.xml
@@ -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
index 000000000000..b902c366137f
--- /dev/null
+++ b/sys-apps/osinfo-db/osinfo-db-20170326.ebuild
@@ -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}"
+}