Mercurial > mxe-octave
comparison src/msys-libcrypt.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 | 7d1e45c2f175 |
comparison
equal
deleted
inserted
replaced
3959:6303de54ff1b | 3960:bd51e2f81020 |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := msys-libcrypt | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 1.1_1-3 | |
7 $(PKG)_CHECKSUM := db7933c59e3aa88f38d14faeaa81d79d460d6d3d | |
8 $(PKG)_REMOTE_SUBDIR := crypt/crypt-$($(PKG)_VERSION) | |
9 $(PKG)_SUBDIR := | |
10 $(PKG)_FILE := libcrypt-$($(PKG)_VERSION)-msys-1.0.13-dll-0.tar.lzma | |
11 $(PKG)_URL := $(MSYS_EXTENSION_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download | |
12 $(PKG)_DEPS := | |
13 | |
14 define $(PKG)_UPDATE | |
15 $(WGET) -q -O- '$(MSYS_EXTENSION_URL)/crypt' | \ | |
16 $(SED) -n 's,.*title="libcrypt-\([0-9][^"]*\)".*,\1,p' | \ | |
17 head -1 | |
18 endef | |
19 | |
20 define $(PKG)_BUILD | |
21 mkdir -p '$(MSYS_EXTENSION_DIR)' | |
22 cd '$(1)' && tar cf - . | ( cd '$(MSYS_EXTENSION_DIR)'; tar xpf - ) | |
23 mkdir -p '$(MSYS_INFO_DIR)' | |
24 cd '$(1)' && find . > '$(MSYS_INFO_DIR)'/$(PKG).list | |
25 endef |