2968
|
1 # This file is part of MXE. |
|
2 # See index.html for further information. |
|
3 |
|
4 PKG := npp |
|
5 $(PKG)_IGNORE := |
5150
|
6 $(PKG)_VERSION := 7.7.1 |
|
7 $(PKG)_CHECKSUM := f19d07c5dca73fd9baa1e5a2b4470a639e0126f6 |
|
8 $(PKG)_SUBDIR := |
2968
|
9 $(PKG)_FILE := $(PKG).$($(PKG)_VERSION).bin.zip |
5150
|
10 $(PKG)_URL := https://notepad-plus-plus.org/repository/7.x/$($(PKG)_VERSION)/$($(PKG)_FILE) |
2968
|
11 $(PKG)_DEPS := |
|
12 |
|
13 define $(PKG)_UPDATE |
5150
|
14 $(WGET) -q -O- 'https://notepad-plus-plus.org/download/' | \ |
5178
|
15 $(GREP) 'Current' | \ |
|
16 $(SED) -n 's|.*/v\([^/]*\).*|\1|p' | \ |
5150
|
17 tail -1 |
2968
|
18 endef |
|
19 |
|
20 define $(PKG)_BUILD |
|
21 mkdir -p '$(NOTEPAD_BASE_DIR)' |
|
22 cd '$(1)' && tar cf - . | ( cd '$(NOTEPAD_BASE_DIR)'; tar xpf - ) |
|
23 endef |