From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 14D511382C5 for ; Thu, 1 Apr 2021 23:12:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0988E097D; Thu, 1 Apr 2021 23:12:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9065E097D for ; Thu, 1 Apr 2021 23:12:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 73B64340C93 for ; Thu, 1 Apr 2021 23:12:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1CA24A5 for ; Thu, 1 Apr 2021 23:12:09 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1617318700.a6d45d93e4220fecbf1c4c01feff2797dc062b9b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/xstow/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/xstow/xstow-1.0.1.ebuild X-VCS-Directories: app-admin/xstow/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a6d45d93e4220fecbf1c4c01feff2797dc062b9b X-VCS-Branch: master Date: Thu, 1 Apr 2021 23:12:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7fb6f5b7-e204-4b9e-bd81-0c81a2cfa8d6 X-Archives-Hash: 28eda5a6c3728f074931c1e1f37d73f7 commit: a6d45d93e4220fecbf1c4c01feff2797dc062b9b Author: Sam James gentoo org> AuthorDate: Thu Apr 1 02:36:20 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Apr 1 23:11:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6d45d93 app-admin/xstow: port to EAPI 7, fix Prefix Signed-off-by: Sam James gentoo.org> app-admin/xstow/xstow-1.0.1.ebuild | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/app-admin/xstow/xstow-1.0.1.ebuild b/app-admin/xstow/xstow-1.0.1.ebuild index 8bc68e8c451..5625fbef705 100644 --- a/app-admin/xstow/xstow-1.0.1.ebuild +++ b/app-admin/xstow/xstow-1.0.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit autotools eutils +inherit autotools -DESCRIPTION="replacement for GNU stow with extensions" +DESCRIPTION="Replacement for GNU stow with extensions" HOMEPAGE="http://xstow.sourceforge.net/" SRC_URI="mirror://sourceforge/xstow/${P}.tar.bz2" @@ -17,8 +17,12 @@ IUSE="ncurses" DEPEND="ncurses? ( sys-libs/ncurses:0= )" RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-ncurses.patch +) + src_prepare() { - epatch "${FILESDIR}"/${P}-ncurses.patch + default eautoreconf } @@ -27,11 +31,11 @@ src_configure() { } src_install() { - emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}/html" install + emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}/html" install dodoc AUTHORS ChangeLog NEWS README TODO # create new STOWDIR - dodir /var/lib/xstow + keepdir /var/lib/xstow # install env.d file to add STOWDIR to PATH and LDPATH doenvd "${FILESDIR}/99xstow"