diff options
author | David Seifert <soap@gentoo.org> | 2023-04-01 11:17:24 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-04-01 11:17:24 +0200 |
commit | a0e7424f856fcb99b293e0f1b9eba4ad1325193a (patch) | |
tree | b81b0a271fdfbb414ffe0e7c4bc9dee82e7bc205 | |
parent | dev-ruby/parser: drop 3.1.1.0, 3.1.2.0, 3.1.2.1 (diff) | |
download | gentoo-a0e7424f856fcb99b293e0f1b9eba4ad1325193a.tar.gz gentoo-a0e7424f856fcb99b293e0f1b9eba4ad1325193a.tar.bz2 gentoo-a0e7424f856fcb99b293e0f1b9eba4ad1325193a.zip |
sys-fs/nilfs-utils: add 2.2.9
Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r-- | sys-fs/nilfs-utils/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/nilfs-utils/nilfs-utils-2.2.9.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-fs/nilfs-utils/Manifest b/sys-fs/nilfs-utils/Manifest index 7d514094842a..793261e99113 100644 --- a/sys-fs/nilfs-utils/Manifest +++ b/sys-fs/nilfs-utils/Manifest @@ -1,2 +1,3 @@ DIST nilfs-utils-2.2.2.tar.bz2 424097 BLAKE2B d38b40e9b70a17bc957a89f5d1551bcc0eaaf396ac5126d47dc2dd0a9e311033beb1164a916fb369b51794d38cb63793ede7917be2d76b8df02a32de11b0a4fc SHA512 2ac0f1f25472d8900732db9f31e6b824e7e591bf306aa18d8b55c5d93807f4f7ceb65ba7e49540a39c7f285ad63c5f4ab795d34b2a04398d91cd2beb5fc6edce DIST nilfs-utils-2.2.8.tar.bz2 440550 BLAKE2B 05cce6b639856df6d5748bc4045500d801260c46cedff31aa571c743eb7e2c8f3d6101faf9bc90b231425fbae349671f6603d902a3240f1f06ef7fd7fedbe2c6 SHA512 3232390581f63de5ebe7b461b178a40dfbdaa4bc6aa96b218ea8182c5bf81b162a1e632a1c21d9f1e89fdba9393b4e268e001c335a99ce22f645a62ae3154783 +DIST nilfs-utils-2.2.9.tar.bz2 439514 BLAKE2B 0908e0180a2af074e97be99fa0a390e926e934fea79a40d792fc0dc1ef820c4a4ecee3696ddaf0d8f8d5c434daed77ea66f37591b05f7a6437e9a3c1a12f5758 SHA512 dd8ab20ee0d6750a6d81f86fe4d1ad94a8a71aa53ee7cd38550ea32fffcc9527db1c75d34f732f0f8f6379a808249f8eec2619e54c595566a3fc434a87d9e66d diff --git a/sys-fs/nilfs-utils/nilfs-utils-2.2.9.ebuild b/sys-fs/nilfs-utils/nilfs-utils-2.2.9.ebuild new file mode 100644 index 000000000000..35df009aa293 --- /dev/null +++ b/sys-fs/nilfs-utils/nilfs-utils-2.2.9.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info usr-ldscript + +DESCRIPTION="A New Implementation of a Log-structured File System for Linux" +HOMEPAGE="http://nilfs.sourceforge.net/" +SRC_URI="http://nilfs.sourceforge.net/download/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="static-libs" + +RDEPEND=" + sys-fs/e2fsprogs + sys-apps/util-linux" +DEPEND="${RDEPEND} + sys-kernel/linux-headers" + +CONFIG_CHECK="~POSIX_MQUEUE" + +src_configure() { + # Always build static libs as nilfs_cleanerd need them + # Bug 669804 + econf \ + --enable-static=yes \ + --libdir="${EPREFIX}"/$(get_libdir) \ + --with-libmount +} + +src_install() { + default + + if use static-libs; then + local libdir=$(get_libdir) + dodir /usr/${libdir} + mv "${ED}"/${libdir}/*.a "${ED}"/usr/${libdir} || die + gen_usr_ldscript libnilfs.so libnilfscleaner.so libnilfsgc.so + else + find "${ED}" -name '*.a' -delete || die + fi + + find "${ED}" -name '*.la' -delete || die +} |