view src/npp.mk @ 3292:fda357ce9f64

* Makefile.in: Generate files list, when supported by the module. Passes a temporary directory to the $(PKG)_BUILD macro, intended to be used as a DESTDIR during installation. When the directory is created by the build step, a files list is generated and the files or copied over to the real installation directory.
author Michael Goffioul <michael.goffioul@gmail.com>
date Sat, 09 Nov 2013 23:28:03 -0500
parents 6175239c45eb
children 13be64f9f16d
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := npp
$(PKG)_IGNORE   :=
$(PKG)_CHECKSUM := e246ebb89c10b71ed483b866ea90385a661092e6
$(PKG)_SUBDIR   := unicode
$(PKG)_FILE     := $(PKG).$($(PKG)_VERSION).bin.zip
$(PKG)_URL      := http://download.tuxfamily.org/notepadplus/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS     :=

define $(PKG)_UPDATE
    echo 'Warning: Updates are temporarily disabled for package Notepad++.' >&2;
    echo $($(PKG)_VERSION)
endef

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