Browse Source

rgbds: Remove TERMUX_PKG_BUILD_DEPENDS

Also patch Makefile to install man pages at the expected location.
android-5
Fredrik Fornwall 7 years ago
parent
commit
95a6a9a5c7
  1. 5
      packages/byacc/build.sh
  2. 12
      packages/rgbds/Makefile.patch
  3. 1
      packages/rgbds/build.sh

5
packages/byacc/build.sh

@ -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

12
packages/rgbds/Makefile.patch

@ -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

1
packages/rgbds/build.sh

@ -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_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_FOLDERNAME=rgbds-$TERMUX_PKG_VERSION
TERMUX_PKG_SHA256=632a6c29341ac8b2d7c4e2081f7825a74b4184d16f8a1ff570229df8006a5ab6 TERMUX_PKG_SHA256=632a6c29341ac8b2d7c4e2081f7825a74b4184d16f8a1ff570229df8006a5ab6
TERMUX_PKG_BUILD_DEPENDS="byacc,flex,libpng-dev,pkg-config"
TERMUX_PKG_DEPENDS="libpng" TERMUX_PKG_DEPENDS="libpng"
TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="PREFIX=${TERMUX_PREFIX} Q= STRIP=" TERMUX_PKG_EXTRA_MAKE_ARGS="PREFIX=${TERMUX_PREFIX} Q= STRIP="

Loading…
Cancel
Save