tty-solitaire: Update from 1.0.0 to 1.1.0

This commit is contained in:
Fredrik Fornwall 2018-08-13 22:24:14 +02:00
parent b00078f83f
commit dff50f4de0
2 changed files with 7 additions and 26 deletions

View File

@ -1,27 +1,8 @@
diff -u -r ../tty-solitaire-1.0.0/Makefile ./Makefile
--- ../tty-solitaire-1.0.0/Makefile 2017-01-07 23:39:19.000000000 +0100
+++ ./Makefile 2017-09-23 01:38:01.226934201 +0200
@@ -1,14 +1,14 @@
-CC = gcc
-CFLAGS = -W -Wall -pedantic -ansi -std=c99 -g
+CC ?= gcc
+CFLAGS ?= -W -Wall -pedantic -ansi -std=c99 -g
-LDFLAGS = -lncursesw
+LDFLAGS += -lncursesw
# OS X installs ncurses with wide character support, but not as "libncurses"
ifeq ($(shell uname -s),Darwin)
LDFLAGS = -lncurses
endif
-PREFIX = /usr/local
+PREFIX ?= /usr/local
EXECUTABLE = ttysolitaire
SRC_DIR = src
@@ -40,7 +40,7 @@
.PHONY: test clean install uninstall
diff -u -r ../tty-solitaire-1.1.0/Makefile ./Makefile
--- ../tty-solitaire-1.1.0/Makefile 2018-08-12 22:05:12.000000000 +0000
+++ ./Makefile 2018-08-13 20:22:37.063193979 +0000
@@ -45,7 +45,7 @@
all: ${EXECUTABLE}
ttysolitaire: $(SRC_OBJECTS)
- $(CC) $(CFLAGS) $(SRC) -o $(EXECUTABLE) $(SRC_OBJECTS) $(LDFLAGS)

View File

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://github.com/mpereira/tty-solitaire
TERMUX_PKG_DESCRIPTION="Klondike solitaire game"
TERMUX_PKG_VERSION=1.0.0
TERMUX_PKG_SHA256=d3512beb8844ffb295cbea03bb3515fec12851bce38692e05cd55494beb2cc1f
TERMUX_PKG_VERSION=1.1.0
TERMUX_PKG_SHA256=46c531e2439733282cd6a1e09646d7b9c03b25fb5c0e888b36443c42cc5ee6f2
TERMUX_PKG_SRCURL=https://github.com/mpereira/tty-solitaire/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_DEPENDS="ncurses"