mdns-scan: patch Makefile instead of setting DESTDIR
This commit is contained in:
parent
9dfac8c46a
commit
869edf8bf1
11
packages/mdns-scan/Makefile.patch
Normal file
11
packages/mdns-scan/Makefile.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ./Makefile.orig 2021-05-13 16:32:58.609046941 +0000
|
||||||
|
+++ ./Makefile 2021-05-13 16:33:08.839042091 +0000
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
rm -rf $(DISTDIR)
|
||||||
|
|
||||||
|
install:
|
||||||
|
- install mdns-scan $(DESTDIR)/usr/bin/mdns-scan
|
||||||
|
+ install mdns-scan $(DESTDIR)$(PREFIX)/mdns-scan
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f mdns-scan *.o *.tar.gz
|
@ -3,9 +3,8 @@ TERMUX_PKG_DESCRIPTION="A tool for scanning for mDNS/DNS-SD services published o
|
|||||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||||
TERMUX_PKG_MAINTAINER="@termux"
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
TERMUX_PKG_VERSION=0.5
|
TERMUX_PKG_VERSION=0.5
|
||||||
|
TERMUX_PKG_REVISION=1
|
||||||
TERMUX_PKG_SRCURL=https://github.com/alteholz/mdns-scan/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
TERMUX_PKG_SRCURL=https://github.com/alteholz/mdns-scan/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||||
TERMUX_PKG_SHA256=fa830d91b993d15f8a463c8dd68f7106f0dded87928bec36074de934c2c52f73
|
TERMUX_PKG_SHA256=fa830d91b993d15f8a463c8dd68f7106f0dded87928bec36074de934c2c52f73
|
||||||
TERMUX_PKG_AUTO_UPDATE=true
|
TERMUX_PKG_AUTO_UPDATE=true
|
||||||
TERMUX_PKG_BUILD_IN_SRC=true
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
TERMUX_PKG_EXTRA_MAKE_ARGS="DESTDIR=${TERMUX_PREFIX}/../"
|
|
||||||
TERMUX_PKG_MAKE_INSTALL_TARGET="DESTDIR=${TERMUX_PREFIX}/../ install"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user