aboutsummaryrefslogtreecommitdiff
path: root/ham/lpsk31/Makefile.patch
diff options
context:
space:
mode:
authorJK Wood <joshuakwood@gmail.com>2019-12-29 11:05:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-29 11:05:25 +0700
commitaecb78bda8b6771687267105b156df244aeaa649 (patch)
tree15701fe228f34fd948a03da67c7c1a15bb0b91ae /ham/lpsk31/Makefile.patch
parentf6de06472d1dd7ca2a2b689c386cf063c64021e6 (diff)
ham/lpsk31: Added (psk31 program for linux).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham/lpsk31/Makefile.patch')
-rw-r--r--ham/lpsk31/Makefile.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/ham/lpsk31/Makefile.patch b/ham/lpsk31/Makefile.patch
new file mode 100644
index 0000000000..79a18a45da
--- /dev/null
+++ b/ham/lpsk31/Makefile.patch
@@ -0,0 +1,25 @@
+--- Makefile.old 2019-12-21 13:44:12.414553374 -0600
++++ Makefile 2019-12-21 14:12:56.166581253 -0600
+@@ -2,8 +2,8 @@
+
+ SHELL = /bin/sh
+ PROJECT = lpsk31
+-BINDIR = /usr/local/bin
+-DOCDIR = /usr/local/share/doc/
++BINDIR = /usr/bin
++DOCDIR = /usr/share/doc/
+ CC = gcc -Wall -march=native -O2 -D_FORTIFY_CODE=2
+
+ objects = cat.o main.o phase.o pskcodec.o screen.o sound.o
+@@ -20,10 +20,7 @@
+ sound.o : sound.h
+
+ install : $(PROJECT)
+- install -m 755 --strip $(PROJECT) $(BINDIR)
+- install -m 644 doc/$(PROJECT).html $(DOCDIR)
+- if test ! -d $(HOME)/$(PROJECT); then mkdir $(HOME)/$(PROJECT); fi
+- install -m 644 default/$(PROJECT)rc $(HOME)/$(PROJECT)
++ install -m 755 --strip $(PROJECT) $(DESTDIR)$(BINDIR)
+
+ uninstall :
+ if test -d $(HOME)/$(PROJECT); then rm -r $(HOME)/$(PROJECT); fi