rgbds: Remove TERMUX_PKG_BUILD_DEPENDS

Also patch Makefile to install man pages at the expected location.
This commit is contained in:
Fredrik Fornwall 2017-08-20 11:54:37 +02:00
parent 408047e1a3
commit 7cfd42565e
3 changed files with 12 additions and 6 deletions

View File

@ -1,5 +0,0 @@
TERMUX_PKG_HOMEPAGE=http://invisible-island.net/byacc/
TERMUX_PKG_DESCRIPTION="Berkeley Yacc"
TERMUX_PKG_VERSION=20170709
TERMUX_PKG_SRCURL=ftp://ftp.invisible-island.net/byacc/byacc-${TERMUX_PKG_VERSION}.tgz
TERMUX_PKG_SHA256=27cf801985dc6082b8732522588a7b64377dd3df841d584ba6150bc86d78d9eb

View File

@ -0,0 +1,12 @@
diff -u -r ../rgbds-0.3.2/Makefile ./Makefile
--- ../rgbds-0.3.2/Makefile 2017-06-10 00:05:16.000000000 +0200
+++ ./Makefile 2017-08-20 11:44:58.798625382 +0200
@@ -3,7 +3,7 @@
Q := @
PREFIX := /usr/local
bindir := ${PREFIX}/bin
-mandir := ${PREFIX}/man
+mandir := ${PREFIX}/share/man
STRIP := -s
BINMODE := 555
MANMODE := 444

View File

@ -4,7 +4,6 @@ TERMUX_PKG_VERSION=0.3.2
TERMUX_PKG_SRCURL=https://github.com/rednex/rgbds/releases/download/v${TERMUX_PKG_VERSION}/rgbds-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_FOLDERNAME=rgbds-$TERMUX_PKG_VERSION
TERMUX_PKG_SHA256=632a6c29341ac8b2d7c4e2081f7825a74b4184d16f8a1ff570229df8006a5ab6
TERMUX_PKG_BUILD_DEPENDS="byacc,flex,libpng-dev,pkg-config"
TERMUX_PKG_DEPENDS="libpng"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="PREFIX=${TERMUX_PREFIX} Q= STRIP="