From 12d5f4db3e722c284b843f7222b20d5dd6564b26 Mon Sep 17 00:00:00 2001 From: soredake Date: Thu, 15 Sep 2016 14:08:36 +0300 Subject: app-admin/stow: cleanup and keyword for arm. * remove 99stow file. * clean up src_install. * EAPI 6 bump. * keyword for the arm platform. Closes: https://github.com/gentoo/gentoo/pull/2333 Signed-off-by: Patrice Clement --- app-admin/stow/stow-2.2.2.ebuild | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) (limited to 'app-admin/stow/stow-2.2.2.ebuild') diff --git a/app-admin/stow/stow-2.2.2.ebuild b/app-admin/stow/stow-2.2.2.ebuild index 14c9b9389755..425c180c88ff 100644 --- a/app-admin/stow/stow-2.2.2.ebuild +++ b/app-admin/stow/stow-2.2.2.ebuild @@ -2,17 +2,15 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" +EAPI=6 -inherit eutils - -DESCRIPTION="Manage installation of software in /var/lib/" +DESCRIPTION="GNU Stow is a symlink farm manager" HOMEPAGE="https://www.gnu.org/software/stow/" SRC_URI="mirror://gnu/stow/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos" IUSE="test" DEPEND="dev-lang/perl @@ -21,22 +19,3 @@ DEPEND="dev-lang/perl dev-perl/Test-Output )" RDEPEND="dev-lang/perl" - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed." - - # create new STOWDIR - dodir /var/lib/stow - - # install env.d file to add STOWDIR to PATH and LDPATH - doenvd "${FILESDIR}"/99stow || die "doenvd failed" -} - -pkg_postinst() { - elog "We now recommend that you use /var/lib/stow as your STOWDIR" - elog "instead of /usr/local in order to avoid conflicts with the" - elog "symlink from /usr/lib64 -> /usr/lib. See Bug 246264 for" - elog "more details on this change." - elog "For your convenience, PATH has been updated to include" - elog "/var/lib/stow/bin." -} -- cgit v1.2.3-18-g5258