view src/msys-libcrypt.mk @ 4464:ff4447e86c50

libpng: update to v1.6.32, add target link to config * src/libpng.mk: update version, checksum, in non natibe build create sym link to libpng-config, use MXE_DISABLE_DOCS, MXE_DISABLE_PROGS in make defs
author John D
date Tue, 29 Aug 2017 09:46:01 -0400
parents bd51e2f81020
children 7d1e45c2f175
line wrap: on
line source

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

PKG             := msys-libcrypt
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1.1_1-3
$(PKG)_CHECKSUM := db7933c59e3aa88f38d14faeaa81d79d460d6d3d
$(PKG)_REMOTE_SUBDIR := crypt/crypt-$($(PKG)_VERSION)
$(PKG)_SUBDIR   := 
$(PKG)_FILE     := libcrypt-$($(PKG)_VERSION)-msys-1.0.13-dll-0.tar.lzma
$(PKG)_URL      := $(MSYS_EXTENSION_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download
$(PKG)_DEPS     := 

define $(PKG)_UPDATE
    $(WGET) -q -O- '$(MSYS_EXTENSION_URL)/crypt' | \
    $(SED) -n 's,.*title="libcrypt-\([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