diff src/msys-perl.mk @ 3960:bd51e2f81020

mingw: add perl msys module for devel tools * index.html: add msys-perl, msys-libcrypt * src/msys-perl.mk: new file * src/src-msys-perl.mk: new file * src/msys-libcrypt.mk: new file * src/src-msys-libcrypt.mk: new file * Makefile.in: add msys-perl, msys-libcrypt to installer in cross mingw * dist-files.mk: add libcrypy and perl files
author John Donoghue <john.donoghue@ieee.org>
date Mon, 08 Jun 2015 19:21:00 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/msys-perl.mk	Mon Jun 08 19:21:00 2015 -0400
@@ -0,0 +1,25 @@
+# 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