]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
beep: Update to 1.4.12
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 31 Dec 2024 14:11:51 +0000 (14:11 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 31 Dec 2024 14:11:51 +0000 (14:11 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
beep/beep.nm

index 4bd39c0c3022559a70d35c00fe4edfe74fc0570d..c18cea963eac5ec8c59c9e4140354cfbbf5ed27f 100644 (file)
@@ -4,37 +4,36 @@
 ###############################################################################
 
 name       = beep
-version    = 1.3
-release    = 2
+version    = 1.4.12
+release    = 1
 
 groups     = Applications/System
-url        = http://www.johnath.com/beep/
+url        = https://github.com/spkr-beep/beep
 license    = GPLv2+
 summary    = Beep the PC speaker any number of ways.
 
 description
-       Beep allows the user to control the PC speaker with precision, \
-       allowing different sounds to indicate different events. While it \
-       can be run quite happily on the commandline, it's intended place \
-       of residence is within shell/perl scripts, notifying the user when \
-       something interesting occurs. Of course, it has no notion of \
+       Beep allows the user to control the PC speaker with precision,
+       allowing different sounds to indicate different events. While it
+       can be run quite happily on the commandline, it's intended place
+       of residence is within shell/perl scripts, notifying the user when
+       something interesting occurs. Of course, it has no notion of
        what's interesting, but it's real good at that notifying part.
 end
 
-source_dl  = http://www.johnath.com/beep/
-tarball    = %{thisapp}.tar.gz
+source_dl  = https://github.com/spkr-beep/beep/archive/refs/tags/v%{version}.tar.gz#/
 
 build
-       build
-               make FLAGS="%{CFLAGS} %{LDFLAGS}" %{PARALLELISMFLAGS}
-       end
-
-       install
-               mkdir -pv %{BUILDROOT}/usr/bin
-               mkdir -pv %{BUILDROOT}/usr/share/man/man1
-
-               install -m 0755 beep %{BUILDROOT}/usr/bin
-               cp beep.1.gz %{BUILDROOT}/usr/share/man/man1
+       prepare_cmds
+               (
+                       echo "CC = %{CC}"
+                       echo "CPPFLAGS = %{CPPFLAGS}"
+                       echo "CFLAGS   = %{CFLAGS}"
+                       echo "LDFLAGS = %{LDFLAGS}"
+                       echo "prefix  = %{prefix}"
+                       echo "bindir  = %{bindir}"
+                       echo "mandir  = %{mandir}"
+               ) > local.mk
        end
 end