From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v2] beep: version bump 1.3 -> 1.4.12
Date: Fri, 26 Apr 2024 11:13:42 +0200 [thread overview]
Message-ID: <ZitwRmqDAmeX1-45@lenoch> (raw)
From: Ladislav Michl <ladis@linux-mips.org>
Move package to a new upstream at https://github.com/spkr-beep/beep/
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
CHANGES:
- v2: Add prepare rule to avoid dependencies on additional
libraries (beep's GNUMakefile is trying to be smart,
but lacks handling consequences)
rules/beep.make | 26 ++++++++++++++++++++++----
1 file changed, 22 insertions(+), 4 deletions(-)
diff --git a/rules/beep.make b/rules/beep.make
index 69ab02f1a..234a3513f 100644
--- a/rules/beep.make
+++ b/rules/beep.make
@@ -14,11 +14,11 @@ PACKAGES-$(PTXCONF_BEEP) += beep
#
# Paths and names
#
-BEEP_VERSION := 1.3
-BEEP_MD5 := 49c340ceb95dbda3f97b2daafac7892a
+BEEP_VERSION := 1.4.12
+BEEP_MD5 := a817f05c5473a23d700778b2c0108cc4
BEEP := beep-$(BEEP_VERSION)
BEEP_SUFFIX := tar.gz
-BEEP_URL := http://www.johnath.com/beep/$(BEEP).$(BEEP_SUFFIX)
+BEEP_URL := https://github.com/spkr-beep/beep/archive/refs/tags/v$(BEEP_VERSION).$(BEEP_SUFFIX)
BEEP_SOURCE := $(SRCDIR)/$(BEEP).$(BEEP_SUFFIX)
BEEP_DIR := $(BUILDDIR)/$(BEEP)
BEEP_LICENSE := GPL-2.0-only
@@ -28,7 +28,25 @@ BEEP_LICENSE := GPL-2.0-only
# ----------------------------------------------------------------------------
BEEP_CONF_TOOL := NO
-BEEP_MAKE_OPT := CC=$(CROSS_CC)
+BEEP_MAKE_OPT := \
+ CC=$(CROSS_CC) \
+ prefix=/usr
+
+$(STATEDIR)/beep.prepare:
+ @$(call targetinfo)
+ # Override detected CFLAGS as some of them may require linking
+ # with additional libraries (-lubsan and -latomic)
+ @echo "common_CFLAGS = -std=gnu99 -pedantic" > $(BEEP_DIR)/local.mk
+ @echo "CFLAGS = -O2 -g -save-temps=obj" >> $(BEEP_DIR)/local.mk
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+BEEP_INSTALL_OPT := \
+ prefix=/usr \
+ install
# ----------------------------------------------------------------------------
# Target-Install
--
2.39.2
next reply other threads:[~2024-04-26 9:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-26 9:13 Ladislav Michl [this message]
2024-05-12 13:16 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZitwRmqDAmeX1-45@lenoch \
--to=oss-lists@triops.cz \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox