summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-07-26 10:46:36 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-07-26 11:50:56 +0200
commit849d1e468bf6204e0b3d9b1de4d339fc94b51f35 (patch)
tree8f9bdfd460831b6b2be718b3642ba6b071313689 /sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild
parentnet-libs/gsoap: Removed old. (diff)
downloadgentoo-849d1e468bf6204e0b3d9b1de4d339fc94b51f35.tar.gz
gentoo-849d1e468bf6204e0b3d9b1de4d339fc94b51f35.tar.bz2
gentoo-849d1e468bf6204e0b3d9b1de4d339fc94b51f35.zip
sys-fs/reiserfsprogs: Bump to version 3.6.27
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild')
-rw-r--r--sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild
new file mode 100644
index 000000000000..218e8b2202ea
--- /dev/null
+++ b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools 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"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.6.25-no_acl.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ append-flags -std=gnu89 #427300
+ local 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
+}