diff --git a/Makefile b/Makefile index 1f61425..9ce97e5 100644 --- a/Makefile +++ b/Makefile @@ -8,12 +8,14 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -DEPENDS = gnutls,nettle,zlib +DEPENDS = gnutls,libnettle,zlib ARCH = x86_64 URL = https://www.gnu.org/software/wget/ +REPO = main +BRIEF = Tool for retrieving files via HTTP, HTTPS, and FTP DESC = GNU Wget is a free software package for retrieving files using \ HTTP, HTTPS and FTP, the most widely-used Internet protocols -SNAPVER = 1 +SNAPVER = 2 ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') @@ -61,7 +63,8 @@ $(ROOT): $(SRCDIR)/src/wget mkdir -v $(ROOT); \ fi - @cd $(SRCDIR) && make install DESTDIR=$(ROOT) + @cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \ + rm -v $(ROOT)/usr/share/info/dir test: $(ROOT) @cd $(SRCDIR); \