view src/npp.mk @ 5150:9c90616e402f

* src/npp.mk: update to v7.7.1
author John Donoghue
date Tue, 13 Aug 2019 08:21:43 -0400
parents 2e2c311cea41
children 7b798a7f20d1
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/' | \
    $(SED) -n 's|.*>v\([^\w]*\) - Current.*|\1|p' | \
    tail -1
endef

define $(PKG)_BUILD
    mkdir -p '$(NOTEPAD_BASE_DIR)'
    cd '$(1)' && tar cf - . | ( cd '$(NOTEPAD_BASE_DIR)'; tar xpf - )
endef