Mercurial > mxe-octave
view src/msys-perl.mk @ 4111:d53c492ab48d
pkg-install.py append to inst/PKG_ADD/DEL it it exists (Bug #47481)
* tools/pkg-install.py
(create_pkgadddel): append to inst/ PKG_ADD/DEL if exists
author | John Donoghue |
---|---|
date | Tue, 22 Mar 2016 08:19:53 -0400 |
parents | bd51e2f81020 |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := msys-perl $(PKG)_IGNORE := $(PKG)_VERSION := 5.8.8-1 $(PKG)_CHECKSUM := 5123c6499393ae952d1c38abd49118d192ae0aa0 $(PKG)_REMOTE_SUBDIR := perl/perl-$($(PKG)_VERSION) $(PKG)_SUBDIR := $(PKG)_FILE := perl-$($(PKG)_VERSION)-msys-1.0.17-bin.tar.lzma $(PKG)_URL := $(MSYS_EXTENSION_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- '$(MSYS_EXTENSION_URL)/perl' | \ $(SED) -n 's,.*title="perl-\([0-9][^"]*\)".*,\1,p' | \ head -1 endef define $(PKG)_BUILD mkdir -p '$(MSYS_EXTENSION_DIR)' cd '$(1)' && tar cf - . | ( cd '$(MSYS_EXTENSION_DIR)'; tar xpf - ) mkdir -p '$(MSYS_INFO_DIR)' cd '$(1)' && find . > '$(MSYS_INFO_DIR)'/$(PKG).list endef