From 66ccf9b586917f07d36d24a12184056a68aa78e6 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 29 Jan 2016 10:08:17 -0500 Subject: [PATCH] macchanger: Add new package --- packages/macchanger/autogen.sh.patch | 11 +++++++++++ packages/macchanger/build.sh | 12 ++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 packages/macchanger/autogen.sh.patch create mode 100644 packages/macchanger/build.sh diff --git a/packages/macchanger/autogen.sh.patch b/packages/macchanger/autogen.sh.patch new file mode 100644 index 000000000..d6b2ba1fb --- /dev/null +++ b/packages/macchanger/autogen.sh.patch @@ -0,0 +1,11 @@ +diff -u -r ../macchanger-1.7.0/autogen.sh ./autogen.sh +--- ../macchanger-1.7.0/autogen.sh 2014-01-01 12:10:25.000000000 -0500 ++++ ./autogen.sh 2016-01-28 15:39:53.656299665 -0500 +@@ -84,7 +84,6 @@ + exit; + fi + +-./configure "$@" + + echo + echo "Now type 'make' to compile $PROJECT." diff --git a/packages/macchanger/build.sh b/packages/macchanger/build.sh new file mode 100644 index 000000000..8d5f3fa98 --- /dev/null +++ b/packages/macchanger/build.sh @@ -0,0 +1,12 @@ +TERMUX_PKG_HOMEPAGE=https://github.com/alobbs/macchanger +TERMUX_PKG_DESCRIPTION="Utility that makes the maniputation of MAC addresses of network interfaces easier" +TERMUX_PKG_VERSION=1.7.0 +TERMUX_PKG_SRCURL=https://github.com/alobbs/macchanger/archive/${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_FOLDERNAME=macchanger-${TERMUX_PKG_VERSION} +# TERMUX_PKG_DEPENDS="pcre, openssl, libuuid" +# TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ssl=openssl --disable-iri" + +termux_step_pre_configure() { + cd $TERMUX_PKG_SRCDIR + ./autogen.sh +}