Mercurial > mxe-octave
view src/zlib.mk @ 2365:b5321bdec505
Move full package names from src/*.mk into package list (index.html)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 21:41:44 +0200 |
parents | 99516e73b368 |
children | 72b584e79721 5fc30b512eb1 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := zlib $(PKG)_IGNORE := $(PKG)_CHECKSUM := 3d445731e4bfea1cd00f36567d77d6e5f5a19be9 $(PKG)_SUBDIR := zlib-$($(PKG)_VERSION) $(PKG)_FILE := zlib-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://zlib.net/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE wget -q -O- 'http://zlib.net/' | \ $(SED) -n 's,.*zlib-\([0-9][^>]*\)\.tar.*,\1,ip' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && CHOST='$(TARGET)' ./configure \ --prefix='$(PREFIX)/$(TARGET)' \ --static $(MAKE) -C '$(1)' -j '$(JOBS)' install endef