diff options
author | 2017-06-27 00:54:29 +0200 | |
---|---|---|
committer | 2017-06-27 00:57:31 +0200 | |
commit | bcd984c2e334331a57fa1f99d9fb1b7d83554caf (patch) | |
tree | 3d2fb766c7d6660c18d60801fc359ad9b05e6bff /sys-fs/reiserfsprogs/reiserfsprogs-3.6.26.ebuild | |
parent | sys-apps/less: Removed old. (diff) | |
download | gentoo-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/reiserfsprogs-3.6.26.ebuild')
-rw-r--r-- | sys-fs/reiserfsprogs/reiserfsprogs-3.6.26.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
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 +} |