* [gentoo-commits] repo/gentoo:master commit in: app-misc/hddled/
@ 2021-04-19 4:31 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-04-19 4:31 UTC (permalink / raw
To: gentoo-commits
commit: 187c45574184de77c25933fe34dfedfb7002abec
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 19 04:22:57 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 19 04:30:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187c4557
app-misc/hddled: port to EAPI 7
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/hddled/hddled-0.3.ebuild | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/app-misc/hddled/hddled-0.3.ebuild b/app-misc/hddled/hddled-0.3.ebuild
index 97557da00d4..2e4b5b8cf0b 100644
--- a/app-misc/hddled/hddled-0.3.ebuild
+++ b/app-misc/hddled/hddled-0.3.ebuild
@@ -1,13 +1,14 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
inherit toolchain-funcs
DESCRIPTION="Show hard disk activity using the scroll lock LED"
HOMEPAGE="http://members.optusnet.com.au/foonly/whirlpool/code/"
SRC_URI="mirror://gentoo/${P}.c.xz"
+S="${WORKDIR}"
LICENSE="Unlicense"
SLOT="0"
@@ -17,22 +18,23 @@ IUSE="X"
DEPEND="X? ( x11-libs/libX11 )"
RDEPEND="${DEPEND}"
-S=${WORKDIR}
+src_prepare() {
+ default
-src_unpack() {
- unpack ${A}
mv ${P}.c ${PN}.c || die
}
src_compile() {
- $(tc-getCC) ${CFLAGS} -o ${PN} ${PN}.c ${LDFLAGS} || die
+ $(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ${PN} ${PN}.c ${LDFLAGS} || die
+
if use X ; then
- $(tc-getCC) ${CFLAGS} -DX -lX11 -o x${PN} ${PN}.c ${LDFLAGS} || die
+ $(tc-getCC) ${CFLAGS} ${CPPFLAGS} -DX -lX11 -o x${PN} ${PN}.c ${LDFLAGS} || die
fi
}
src_install() {
dobin ${PN}
+
if use X ; then
dobin x${PN}
elog "X version was renamed to x${PN}"
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/hddled/
@ 2024-09-03 17:45 Petr Vaněk
0 siblings, 0 replies; 2+ messages in thread
From: Petr Vaněk @ 2024-09-03 17:45 UTC (permalink / raw
To: gentoo-commits
commit: f68b7293e061095597227410c9b29178112553db
Author: Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 3 17:42:17 2024 +0000
Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Tue Sep 3 17:44:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f68b7293
app-misc/hddled: drop 0.3
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>
app-misc/hddled/hddled-0.3.ebuild | 42 ---------------------------------------
1 file changed, 42 deletions(-)
diff --git a/app-misc/hddled/hddled-0.3.ebuild b/app-misc/hddled/hddled-0.3.ebuild
deleted file mode 100644
index 2e4b5b8cf0bb..000000000000
--- a/app-misc/hddled/hddled-0.3.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="Show hard disk activity using the scroll lock LED"
-HOMEPAGE="http://members.optusnet.com.au/foonly/whirlpool/code/"
-SRC_URI="mirror://gentoo/${P}.c.xz"
-S="${WORKDIR}"
-
-LICENSE="Unlicense"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="X"
-
-DEPEND="X? ( x11-libs/libX11 )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- default
-
- mv ${P}.c ${PN}.c || die
-}
-
-src_compile() {
- $(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ${PN} ${PN}.c ${LDFLAGS} || die
-
- if use X ; then
- $(tc-getCC) ${CFLAGS} ${CPPFLAGS} -DX -lX11 -o x${PN} ${PN}.c ${LDFLAGS} || die
- fi
-}
-
-src_install() {
- dobin ${PN}
-
- if use X ; then
- dobin x${PN}
- elog "X version was renamed to x${PN}"
- fi
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-03 17:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-19 4:31 [gentoo-commits] repo/gentoo:master commit in: app-misc/hddled/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2024-09-03 17:45 Petr Vaněk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox