diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2011-07-17 09:51:11 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-12-03 14:49:17 -0600 |
commit | cf636e5e801183f0ed779b287dbba0fa9b81efcf (patch) | |
tree | 5e71a3231f4e1eede34009b65b374c563a9f7836 /testing/nbtscan/nbtscan-1.5.1-makefile.patch | |
parent | cfa00b4d2a1e238a73263716e81fc5d1f1f9707d (diff) | |
download | aports-cf636e5e801183f0ed779b287dbba0fa9b81efcf.tar.bz2 aports-cf636e5e801183f0ed779b287dbba0fa9b81efcf.tar.xz |
Initial APKBUILD for nbtscan
Package description:
NBTscan is a program for scanning IP networks for NetBIOS name
information. It sends a NetBIOS status query to each address in
supplied range and lists received information in human readable
form.
Diffstat (limited to 'testing/nbtscan/nbtscan-1.5.1-makefile.patch')
-rw-r--r-- | testing/nbtscan/nbtscan-1.5.1-makefile.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/nbtscan/nbtscan-1.5.1-makefile.patch b/testing/nbtscan/nbtscan-1.5.1-makefile.patch new file mode 100644 index 0000000000..300f2a6aef --- /dev/null +++ b/testing/nbtscan/nbtscan-1.5.1-makefile.patch @@ -0,0 +1,20 @@ +--- nbtscan-1.5.1a/Makefile.in.orig ++++ nbtscan-1.5.1a/Makefile.in +@@ -5,6 +5,7 @@ + OBJECTS=nbtscan.o statusq.o range.o list.o + DEFS=@DEFS@ + TARGET=@TARGET@ ++DESTDIR= + + prefix = @prefix@ + exec_prefix = @exec_prefix@ +@@ -14,7 +15,8 @@ + $(CC) $(CFLAGS) -o nbtscan $(OBJECTS) $(LIBS) + + install: +- $(INSTALL) $(TARGET) $(BINDIR)/$(TARGET) ++ mkdir -p $(DESTDIR)$(BINDIR) ++ $(INSTALL) $(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET) + + nbtscan.o: nbtscan.c statusq.h range.h list.h + $(CC) $(CFLAGS) $(DEFS) -c nbtscan.c |