summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2022-11-02 09:22:22 -0700
committerPatrick McLean <chutzpah@gentoo.org>2022-11-02 09:22:29 -0700
commitb6eea8a52453a33d9a1651ff381f0742155efc37 (patch)
tree58de69d986afb9e5e770d3c2ecca936dfb03d0e1 /sys-block/libzbc
parentx11-libs/libXaw3dXft: add myself as a maintainer (diff)
downloadgentoo-b6eea8a52453a33d9a1651ff381f0742155efc37.tar.gz
gentoo-b6eea8a52453a33d9a1651ff381f0742155efc37.tar.bz2
gentoo-b6eea8a52453a33d9a1651ff381f0742155efc37.zip
sys-block/libzbc: add 5.13.0
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'sys-block/libzbc')
-rw-r--r--sys-block/libzbc/Manifest1
-rw-r--r--sys-block/libzbc/libzbc-5.13.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-block/libzbc/Manifest b/sys-block/libzbc/Manifest
index 8b58f5626601..d6d22ae0b0b5 100644
--- a/sys-block/libzbc/Manifest
+++ b/sys-block/libzbc/Manifest
@@ -1 +1,2 @@
+DIST libzbc-5.13.0.tar.gz 142639 BLAKE2B 2b3447cb0d2729da85f83f16f1b959ce90182e2f6f0466d327b550419b53fb6791f0c63f7ab717d3ed91a4d0b6d0b3d13b15593daa5b64f3a5b890f58af247d7 SHA512 fb93212654b7c3255089651544ae46d2b6285b6316f883e1638b349f19900c8277525a22376476e95c90eafbba5a2a6476b468ddad2ca7b13fa94b95d6896fcb
DIST libzbc-5.9.0.tar.gz 131517 BLAKE2B eb05214ffea376930f1b4327152da687067023eab929ed1db123ea3bc80e0f036dfbe9889da2707f1c3842120d4fc3b2c8ab471731d45d5483fe947c21fc7cad SHA512 bcdf294d86867736826af06ad6d18dec31630b3f5bc6e3e98c228bec6a30efcce76a27e3c66a08ce670614ca016dc079894320cff340bafe126fcb40973e8302
diff --git a/sys-block/libzbc/libzbc-5.13.0.ebuild b/sys-block/libzbc/libzbc-5.13.0.ebuild
new file mode 100644
index 000000000000..9e2242eb7089
--- /dev/null
+++ b/sys-block/libzbc/libzbc-5.13.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="A library and tools for working with ZBC and ZAC disks"
+HOMEPAGE="https://github.com/hgst/libzbc"
+SRC_URI="https://github.com/hgst/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2 GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="gtk"
+
+DEPEND="
+ gtk? ( x11-libs/gtk+:3 )
+ >=sys-kernel/linux-headers-4.13
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable gtk gui) \
+ --disable-static
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}