commit: 9fe3a90f2aae964581f8b3278b1e117b41e65c1a Author: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com> AuthorDate: Sun Sep 5 18:41:30 2021 +0000 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> CommitDate: Sun Sep 5 18:41:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9fe3a90f
sys-fs/gfs2-utils: version bump to 3.4.1 Signed-off-by: Andrea Postiglione <andrea.postiglione <AT> gmail.com> sys-fs/gfs2-utils/gfs2-utils-3.4.1.ebuild | 63 +++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/sys-fs/gfs2-utils/gfs2-utils-3.4.1.ebuild b/sys-fs/gfs2-utils/gfs2-utils-3.4.1.ebuild new file mode 100644 index 000000000..6cfae8a5f --- /dev/null +++ b/sys-fs/gfs2-utils/gfs2-utils-3.4.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools toolchain-funcs linux-info + +DESCRIPTION="Shared-disk cluster file system" +HOMEPAGE="https://pagure.io/gfs2-utils" +SRC_URI="https://pagure.io/gfs2-utils/archive/${PV}/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="nls test" + + +BDEPEND="sys-devel/autoconf + sys-devel/automake + sys-devel/libtool + sys-devel/make +" +RDEPEND="sys-libs/zlib + app-arch/bzip2 + sys-libs/ncurses + sys-apps/util-linux +" + +DEPEND="${RDEPEND} + sys-devel/gettext + sys-devel/bison + sys-devel/flex + test? ( dev-libs/check ) + sys-kernel/linux-headers +" + +src_prepare() { + eapply "${FILESDIR}"/reproducible.patch + eapply "${FILESDIR}"/gfs2_withdraw_helper.patch + eapply "${FILESDIR}"/python3.patch + default + ./autogen.sh + eautoreconf +} + +src_configure() { + local econf_args + econf_args=( + bzip2_LIBS="-L/$(get_libdir) -lbz2" + bzip2_CFLAGS="-I${prefix}/include" + ) + ECONF_SOURCE="${S}" econf "${econf_args[@]}" + +} + +src_compile() { + emake +} + +src_install() { + emake DESTDIR="${D}" install +}
