* [gentoo-commits] repo/gentoo:master commit in: sys-fs/arm-fdisk/
@ 2016-01-19 21:54 Manuel Rüger
0 siblings, 0 replies; 2+ messages in thread
From: Manuel Rüger @ 2016-01-19 21:54 UTC (permalink / raw
To: gentoo-commits
commit: 42d0d2c9de0785f3d2ba87d7290d9b279dc2b5a8
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 19 21:53:48 2016 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Jan 19 21:53:48 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d0d2c9
sys-fs/arm-fdisk: Remove old
Package-Manager: portage-2.2.27
sys-fs/arm-fdisk/Manifest | 1 -
sys-fs/arm-fdisk/arm-fdisk-3.0.6.ebuild | 37 ---------------------------------
2 files changed, 38 deletions(-)
diff --git a/sys-fs/arm-fdisk/Manifest b/sys-fs/arm-fdisk/Manifest
index 3820bac..cee9260 100644
--- a/sys-fs/arm-fdisk/Manifest
+++ b/sys-fs/arm-fdisk/Manifest
@@ -1,3 +1,2 @@
DIST acorn-fdisk_3.0.6-6.2.diff.gz 5580 SHA256 d84e6a8c05114b044cace9d7705d319cbe38c3878eaf0918b1965453d88254ad SHA512 076587945548f10fef92a93910aee670927a2de9b1b32fd1b4ab72b1cfc26440177745f09b62f9b903987e3802060f4e278e1647ee12b7e2f29a0fd7b36ff188 WHIRLPOOL 6424710566c0c76e6aebcc32f5a9f4251402fc198aa22cad236caa10bf111b3a2a4377b940e6f98035a7193ca7e4b6045ba558557ad2b5b02422c09cb68ffc60
-DIST acorn-fdisk_3.0.6-6.diff.gz 5457 SHA256 ded7560b48ca758bca36fad7d015ad5766cf7f6f84fd89be13ac443138884fec SHA512 dfad8d62f6bec46f6f77019f80d66fb7dc2a0a30ab6fa485f94a47cbe058845524a435b479b8c2eb764ef77915966b62da4761fd46de719f9f804cdc57e06e91 WHIRLPOOL d716e161b8209ac3605d2fbac2e856c97b13c4497cc7807c3041a6887279d2d3db8171b34ccda454157f9295f05f441af6352c50516ba36ad617ff15d549edc4
DIST arm-fdisk-3.0.6.tar.gz 62266 SHA256 d6254982717be92aaffa1b6a2690d4e8b258285f7596beb196a9d24ceacf3a05 SHA512 954c1112c8108da676a0c4223de3a7b0320a37286b0ed099f3000bf4777ebb483b0b62eb0a5dd480f775c503020e7d9ed6ef737ef7bbc5bce858ae68aa471a3f WHIRLPOOL 3f26a40aa9823bdd87c163cc09d13e99679379238b233f32fe04b8235c4f42ce5d105d05a7a68561900c41b4990d177e69e0e694c5a8598a8e1d19e3745e78d9
diff --git a/sys-fs/arm-fdisk/arm-fdisk-3.0.6.ebuild b/sys-fs/arm-fdisk/arm-fdisk-3.0.6.ebuild
deleted file mode 100644
index 4b245ff..0000000
--- a/sys-fs/arm-fdisk/arm-fdisk-3.0.6.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils
-
-DEB_VER=6
-DESCRIPTION="edit disk partitions on Acorn machines"
-HOMEPAGE="http://www.arm.linux.org.uk/"
-SRC_URI="ftp://ftp.arm.linux.org.uk/pub/armlinux/source/other/${P}.tar.gz
- mirror://debian/pool/main/a/acorn-fdisk/acorn-fdisk_${PV}-${DEB_VER}.diff.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc s390 sh sparc x86"
-IUSE=""
-
-DEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${WORKDIR}"/acorn-fdisk_${PV}-${DEB_VER}.diff
-
- find "${S}" -name Makefile -print0 | xargs -0 \
- sed -i \
- -e "s:-O2 -Wall\( -g\)\?::" \
- -e "/^CFLAGS/s:=:+=:" \
- -e '/^STRIP/s:strip:true:'
-}
-
-src_install() {
- into /
- newsbin fdisk ${PN} || die "sbin failed"
- dosym ${PN} /sbin/acorn-fdisk
- dodoc ChangeLog README debian/changelog
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-fs/arm-fdisk/
@ 2019-11-10 12:06 Michał Górny
0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2019-11-10 12:06 UTC (permalink / raw
To: gentoo-commits
commit: df5619fcc7f93558f4dc145492725748bad550ed
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 11:43:36 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 12:05:44 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df5619fc
sys-fs/arm-fdisk: Bump to EAPI 7
Closes: https://bugs.gentoo.org/697162
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
diff --git a/sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild b/sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild
index 3a85f525491..aaafaf93c51 100644
--- a/sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild
+++ b/sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=7
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DEB_VER=6.2
DESCRIPTION="edit disk partitions on Acorn machines"
@@ -16,30 +16,26 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc s390 sh sparc x86"
IUSE=""
-DEPEND=""
+src_prepare() {
+ default
+ eapply "${WORKDIR}"/acorn-fdisk_${PV}-${DEB_VER}.diff
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${WORKDIR}"/acorn-fdisk_${PV}-${DEB_VER}.diff
-
- find "${S}" -name Makefile -print0 | xargs -0 \
- sed -i \
+ find . -name Makefile -exec sed -i \
-e "s:-O2 -Wall\( -g\)\?::" \
-e "/^CFLAGS/s:=:+=:" \
-e "/^LDFLAGS/s:=:+=:" \
- -e '/^STRIP/s:strip:true:'
+ -e '/^STRIP/s:strip:true:' {} + || die
}
src_compile() {
emake \
CC="$(tc-getCC)" \
- AR="$(tc-getAR)" || die
+ AR="$(tc-getAR)"
}
src_install() {
into /
- newsbin fdisk ${PN} || die "sbin failed"
+ newsbin fdisk ${PN}
dosym ${PN} /sbin/acorn-fdisk
dodoc ChangeLog README debian/changelog
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-11-10 12:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-19 21:54 [gentoo-commits] repo/gentoo:master commit in: sys-fs/arm-fdisk/ Manuel Rüger
-- strict thread matches above, loose matches on Subject: below --
2019-11-10 12:06 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox