Mercurial > mxe-octave
annotate src/npp.mk @ 5534:372ea4c0afb2
Move of-ocs PKG_XXXX to inst dir and add break patch
* src/of-ocs-3-break-fixes.patch,
src/of-ocs-4-pkgadd-fixes.patch: new files
* dist-files.mk: add ref to files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 13 Sep 2020 08:15:14 -0400 |
parents | f04816d4888f |
children | 763f5e165b5a |
rev | line source |
---|---|
2968 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := npp | |
5 $(PKG)_IGNORE := | |
5492
f04816d4888f
* src/npp.mk: update to v7.8.9
John Donoghue <john.donoghue@ieee.org>
parents:
5476
diff
changeset
|
6 $(PKG)_VERSION := 7.8.9 |
f04816d4888f
* src/npp.mk: update to v7.8.9
John Donoghue <john.donoghue@ieee.org>
parents:
5476
diff
changeset
|
7 $(PKG)_CHECKSUM := 26297d8c55833a6c43d16f3b0fa842ecd5153e20 |
5150 | 8 $(PKG)_SUBDIR := |
2968 | 9 $(PKG)_FILE := $(PKG).$($(PKG)_VERSION).bin.zip |
5227
68e2c929d836
* src/npp.mk: Update download URL.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5226
diff
changeset
|
10 $(PKG)_URL := https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v$($(PKG)_VERSION)/$($(PKG)_FILE) |
2968 | 11 $(PKG)_DEPS := |
12 | |
13 define $(PKG)_UPDATE | |
5226
df82dcc892d1
* src/npp.mk: update update url, update to v7.8.1
John Donoghue
parents:
5178
diff
changeset
|
14 $(WGET) -q -O- 'https://notepad-plus-plus.org/downloads/' | \ |
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 |