mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2] beep: version bump 1.3 -> 1.4.12
@ 2024-04-26  9:13 Ladislav Michl
  2024-05-12 13:16 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Ladislav Michl @ 2024-04-26  9:13 UTC (permalink / raw)
  To: ptxdist

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-12 13:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-26  9:13 [ptxdist] [PATCH v2] beep: version bump 1.3 -> 1.4.12 Ladislav Michl
2024-05-12 13:16 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox