summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-06-27 00:54:29 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-06-27 00:57:31 +0200
commitbcd984c2e334331a57fa1f99d9fb1b7d83554caf (patch)
tree3d2fb766c7d6660c18d60801fc359ad9b05e6bff /sys-fs/reiserfsprogs
parentsys-apps/less: Removed old. (diff)
downloadgentoo-bcd984c2e334331a57fa1f99d9fb1b7d83554caf.tar.gz
gentoo-bcd984c2e334331a57fa1f99d9fb1b7d83554caf.tar.bz2
gentoo-bcd984c2e334331a57fa1f99d9fb1b7d83554caf.zip
sys-fs/reiserfsprogs: Bump to version 3.6.26
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'sys-fs/reiserfsprogs')
-rw-r--r--sys-fs/reiserfsprogs/Manifest1
-rw-r--r--sys-fs/reiserfsprogs/reiserfsprogs-3.6.26.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/sys-fs/reiserfsprogs/Manifest b/sys-fs/reiserfsprogs/Manifest
index 6384d9133289..2a0b3dcca3bf 100644
--- a/sys-fs/reiserfsprogs/Manifest
+++ b/sys-fs/reiserfsprogs/Manifest
@@ -1,2 +1,3 @@
DIST reiserfsprogs-3.6.24.tar.xz 316444 SHA256 7e44fefe557d68a642191428210f3d64d80283b9ad0e45c24130f6ce936b0760 SHA512 183cda8c1bef375a9e90b6bfcbbbe7cc901f12890be29551e74950c723b0ae565786be86f69cba2a5d8b2f9014d22f6f3bdf277d666d4b6bea15406cb2803a42 WHIRLPOOL 1046b9ca94e733a1b90c220a122d41cb933522e39244b6c6de987de1eefe9a2712a3a7dbaf5de64f2c76de1eb9b43c3fe0650fc3ac11929951956a91ea92e571
DIST reiserfsprogs-3.6.25.tar.xz 448984 SHA256 fb1199405af8b8af609e9e97054de8f0d05b6cc2b6727713db92ed5e2919d20d SHA512 247ca392d227680fb24e94cd490319e77e82d00d7d357516690d2cab6f0bbe8b35879f8a25ed5046bd3a7a3e1f2b140a8a82404043aa0e7f6f60f57d069857ae WHIRLPOOL d467ae27729a2777fd04578ae62327d71cf34404f9e70c717b07ef385c6d7f830546e3a07b34e9a8ca70cfd0cbdecedec2dd3720129e0c4d9131ad2d9ead3f32
+DIST reiserfsprogs-3.6.26.tar.xz 357276 SHA256 7d4b2ed2d6fc40d944f288099233f350b653e0f6567e9f12e958731eebd94685 SHA512 366f326d25fc5940ebc37b2b340607d2234296dfa42795e584cda670597e8dd859633499e6ab87ae8d53cd31b293ddbb15113944a17bfd601baa494abb02a9fa WHIRLPOOL 635013a7dfc832e4d34810e4f0533978dc26d3fc8794a7c2f04c2f0afceb0233244876ef6c39e132f1e42a23c473fb2bb42c3b82c26e15212af27ecc15ab6138
diff --git a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.26.ebuild b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.26.ebuild
new file mode 100644
index 000000000000..0704720cc949
--- /dev/null
+++ b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.26.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="Reiserfs Utilities"
+HOMEPAGE="https://www.kernel.org/pub/linux/utils/fs/reiserfs/"
+SRC_URI="mirror://kernel/linux/utils/fs/reiserfs/${P}.tar.xz
+ mirror://kernel/linux/kernel/people/jeffm/${PN}/v${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ append-flags -std=gnu89 #427300
+ myeconfargs=(
+ --bindir="${EPREFIX}/bin"
+ --libdir="${EPREFIX}/$(get_libdir)"
+ --sbindir="${EPREFIX}/sbin"
+ $(use_enable static-libs static)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ dodir /usr/$(get_libdir)
+ mv "${D}"/$(get_libdir)/pkgconfig "${D}"/usr/$(get_libdir) || die
+
+ if use static-libs ; then
+ mv "${D}"/$(get_libdir)/*a "${D}"/usr/$(get_libdir) || die
+ gen_usr_ldscript libreiserfscore.so
+ else
+ find "${D}" -type f \( -name "*.a" -o -name "*.la" \) -delete
+ fi
+}