sys-process/snooze: fix CFLAGS

Closes: https://bugs.gentoo.org/847202
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono 2024-10-19 18:03:50 +09:00
parent 199b6a83d4
commit 84ab309966
No known key found for this signature in database
GPG Key ID: 91CA2604719DDA61
2 changed files with 14 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
DESCRIPTION="Run a command at a particular time"
HOMEPAGE="https://github.com/leahneukirchen/snooze"
@ -11,7 +11,11 @@ LICENSE="CC0-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_compile() {
emake CFLAGS="${CFLAGS}"
}
src_install() {
emake DESTDIR="${D}" PREFIX=/usr install
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
dodoc {README,NEWS}.md
}

View File

@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
DESCRIPTION="Run a command at a particular time"
HOMEPAGE="https://github.com/leahneukirchen/snooze"
@ -12,7 +12,11 @@ EGIT_REPO_URI="https://github.com/leahneukirchen/snooze.git"
LICENSE="CC0-1.0"
SLOT="0"
src_compile() {
emake CFLAGS="${CFLAGS}"
}
src_install() {
emake DESTDIR="${D}" PREFIX=/usr install
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
dodoc {README,NEWS}.md
}