Package: scottfree / 1.14-10

01_makefile.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Build scottfree without termcap
Author: Clint Adams <schizo@debian.org>

--- a/Makefile
+++ b/Makefile
@@ -4,11 +4,14 @@
 CC	=	gcc
 #
 #
-all	:	ScottCurses
+all	:	scottfree
 
 ScottCurses.o:	ScottCurses.c Scott.h
 
-ScottCurses:	ScottCurses.o
-	$(CC) ScottCurses.o -o ScottCurses -lcurses -ltermcap
+scottfree:	ScottCurses.o
+	$(CC) ScottCurses.o -o scottfree -lcurses
 
+install:
+	mkdir -p $(DESTDIR)/usr/games
+	install -m 755 -o root -g root scottfree $(DESTDIR)/usr/games