diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2015-09-02 10:37:10 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2015-09-02 10:37:56 +0200 |
commit | b4b235885f9cf6ea0f7e3659d1c222d930c2bf57 (patch) | |
tree | ffb00b6eb8493d63c93a38e8aa434905cabfd270 /sys-fs/reiser4progs/reiser4progs-1.1.0.ebuild | |
parent | app-text/tesseract: Update leptonica dep in 3.04 (diff) | |
download | gentoo-b4b235885f9cf6ea0f7e3659d1c222d930c2bf57.tar.gz gentoo-b4b235885f9cf6ea0f7e3659d1c222d930c2bf57.tar.bz2 gentoo-b4b235885f9cf6ea0f7e3659d1c222d930c2bf57.zip |
sys-fs/reiser4progs: Bump to version 1.1.0.
Package-Manager: portage-2.2.20.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-fs/reiser4progs/reiser4progs-1.1.0.ebuild')
-rw-r--r-- | sys-fs/reiser4progs/reiser4progs-1.1.0.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sys-fs/reiser4progs/reiser4progs-1.1.0.ebuild b/sys-fs/reiser4progs/reiser4progs-1.1.0.ebuild new file mode 100644 index 000000000000..b84a1b2bcfc5 --- /dev/null +++ b/sys-fs/reiser4progs/reiser4progs-1.1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit multilib eutils toolchain-funcs + +DESCRIPTION="reiser4progs: mkfs, fsck, etc..." +HOMEPAGE="https://sourceforge.net/projects/reiser4/" +SRC_URI="mirror://sourceforge/reiser4/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 -sparc ~x86" +IUSE="debug readline static static-libs" + +LIB_DEPEND="~sys-libs/libaal-1.0.6[static-libs(+)] + readline? ( sys-libs/readline[static-libs(+)] )" +RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) + static-libs? ( ~sys-libs/libaal-1.0.6[static-libs(+)] )" +DEPEND="${RDEPEND} + static? ( ${LIB_DEPEND} )" + +src_prepare() { + printf '#!/bin/sh\ntrue\n' > run-ldconfig + # Delete hardcoded link/compile flags. + sed -i -r \ + -e '/CFLAGS=/s: -static":":' \ + -e '/CFLAGS/s: (-O[123s]|-g)\>::g' \ + configure || die + epatch "${FILESDIR}"/${PN}-1.0.7-readline-6.3.patch #504472 +} + +src_configure() { + econf \ + $(use_enable static full-static) \ + $(use_enable static-libs static) \ + $(use_enable debug) \ + $(use_with readline) \ + --disable-Werror \ + --enable-libminimal \ + --sbindir=/sbin +} + +src_install() { + default + gen_usr_ldscript -a reiser4{,-minimal} repair +} |