Mercurial > mxe-octave
view src/npp.mk @ 5178:7b798a7f20d1
* src/npp.mk: fix update rule
author | John Donoghue |
---|---|
date | Thu, 10 Oct 2019 13:09:44 -0400 |
parents | 9c90616e402f |
children | df82dcc892d1 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := npp $(PKG)_IGNORE := $(PKG)_VERSION := 7.7.1 $(PKG)_CHECKSUM := f19d07c5dca73fd9baa1e5a2b4470a639e0126f6 $(PKG)_SUBDIR := $(PKG)_FILE := $(PKG).$($(PKG)_VERSION).bin.zip $(PKG)_URL := https://notepad-plus-plus.org/repository/7.x/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'https://notepad-plus-plus.org/download/' | \ $(GREP) 'Current' | \ $(SED) -n 's|.*/v\([^/]*\).*|\1|p' | \ tail -1 endef define $(PKG)_BUILD mkdir -p '$(NOTEPAD_BASE_DIR)' cd '$(1)' && tar cf - . | ( cd '$(NOTEPAD_BASE_DIR)'; tar xpf - ) endef