summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2021-02-18 12:21:19 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2021-02-18 12:21:39 -0800
commit7aec763fe85d84b056da7d9fddbb1017144630c9 (patch)
treec81304b3eec3f4847a5a75b84787883877391489 /sys-block
parentprofiles/package.mask: mask broken dev-db/lmdb-0.9.27 version (diff)
downloadgentoo-7aec763fe85d84b056da7d9fddbb1017144630c9.tar.gz
gentoo-7aec763fe85d84b056da7d9fddbb1017144630c9.tar.bz2
gentoo-7aec763fe85d84b056da7d9fddbb1017144630c9.zip
sys-block/libzbd: new package
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/libzbd/Manifest1
-rw-r--r--sys-block/libzbd/libzbd-1.2.0.ebuild38
-rw-r--r--sys-block/libzbd/metadata.xml12
3 files changed, 51 insertions, 0 deletions
diff --git a/sys-block/libzbd/Manifest b/sys-block/libzbd/Manifest
new file mode 100644
index 000000000000..eed130a2b77b
--- /dev/null
+++ b/sys-block/libzbd/Manifest
@@ -0,0 +1 @@
+DIST libzbd-1.2.0.tar.gz 56107 BLAKE2B 0b20ced5cb0abc6ac5d303a1b583b1a8c0b3c89936cf664dd227832d5a704f6665a82e0d1c7cf80c381400b4edcff6c9e0b192c10deaf00c89009b40edde8676 SHA512 d165640331c7a87c4660f3f707c0510fa7a21edd194e66e96abe6ad3698dc4652a6a673ac8ac1929b0f603df49c1621f398cfb81b7ab8f9dba6353fa9f05d94f
diff --git a/sys-block/libzbd/libzbd-1.2.0.ebuild b/sys-block/libzbd/libzbd-1.2.0.ebuild
new file mode 100644
index 000000000000..568e9787c1b0
--- /dev/null
+++ b/sys-block/libzbd/libzbd-1.2.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Zoned block device manipulation library and tools"
+HOMEPAGE="https://github.com/westerndigitalcorporation/libzbd"
+SRC_URI="https://github.com/westerndigitalcorporation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+ LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="gtk"
+
+DEPEND="virtual/pkgconfig
+ >=sys-kernel/linux-headers-4.13
+ gtk? ( x11-libs/gtk+:3 )"
+
+PATCHES=(
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with gtk gtk3) \
+ --disable-static
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/sys-block/libzbd/metadata.xml b/sys-block/libzbd/metadata.xml
new file mode 100644
index 000000000000..8c4c6998efd5
--- /dev/null
+++ b/sys-block/libzbd/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+</pkgmetadata>