From 0ef1046ab379a6e10b3224483c09e87c8a55ad64 Mon Sep 17 00:00:00 2001 From: its-pointless Date: Sat, 24 Feb 2018 16:20:25 +1100 Subject: [PATCH] indent --- packages/indent/build.sh | 7 +++++++ packages/indent/makefile.in.patch | 11 +++++++++++ 2 files changed, 18 insertions(+) create mode 100644 packages/indent/build.sh create mode 100644 packages/indent/makefile.in.patch diff --git a/packages/indent/build.sh b/packages/indent/build.sh new file mode 100644 index 000000000..63c817306 --- /dev/null +++ b/packages/indent/build.sh @@ -0,0 +1,7 @@ +TERMUX_PKG_HOMEPAGE=https://packages.debian.org/sid/indent +TERMUX_PKG_DESCRIPTION="C language source code formatting program" +TERMUX_PKG_VERSION=2.2.11 +TERMUX_PKG_SRCURL=http://http.debian.net/debian/pool/main/i/indent/indent_$TERMUX_PKG_VERSION.orig.tar.gz +TERMUX_PKG_SHA256=aaff60ce4d255efb985f0eb78cca4d1ad766c6e051666073050656b6753a0893 +TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_HOSTBUILD=true diff --git a/packages/indent/makefile.in.patch b/packages/indent/makefile.in.patch new file mode 100644 index 000000000..c7625a018 --- /dev/null +++ b/packages/indent/makefile.in.patch @@ -0,0 +1,11 @@ +--- ../cache/indent-2.2.11/man/Makefile.in 2010-01-31 16:25:21.000000000 +0000 ++++ ./man/Makefile.in 2018-02-24 05:13:23.767243504 +0000 +@@ -575,7 +575,7 @@ + + + @PACKAGE@.1: ${srcdir}/@PACKAGE@.1.in ${srcdir}/../doc/@PACKAGE@.texinfo texinfo2man Makefile.am +- ./texinfo2man ${srcdir}/@PACKAGE@.1.in ${srcdir}/../doc/@PACKAGE@.texinfo > $@ ++ ../../host-build/man/texinfo2man ${srcdir}/@PACKAGE@.1.in ${srcdir}/../doc/@PACKAGE@.texinfo > $@ + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded.