Mercurial > mxe-octave
comparison src/xz.mk @ 2642:9956b52eea59
update package xz
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Sat, 23 Jun 2012 09:57:50 +0200 |
parents | 4d0f3a9da57e |
children | 47558e958113 |
comparison
equal
deleted
inserted
replaced
2641:832d15e602a6 | 2642:9956b52eea59 |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := xz | 4 PKG := xz |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_CHECKSUM := 50ce842bea6519537457d9ad90d110a127656786 | 6 $(PKG)_CHECKSUM := 3e976d7715fde43422572c70f927bfdae56a94c3 |
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | 8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
9 $(PKG)_URL := http://tukaani.org/xz/$($(PKG)_FILE) | 9 $(PKG)_URL := http://tukaani.org/xz/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc | 10 $(PKG)_DEPS := gcc |
11 | 11 |
16 endef | 16 endef |
17 | 17 |
18 define $(PKG)_BUILD | 18 define $(PKG)_BUILD |
19 cd '$(1)' && ./configure \ | 19 cd '$(1)' && ./configure \ |
20 --host='$(TARGET)' \ | 20 --host='$(TARGET)' \ |
21 --build="`config.guess`" \ | |
21 --prefix='$(PREFIX)/$(TARGET)' \ | 22 --prefix='$(PREFIX)/$(TARGET)' \ |
22 --disable-shared \ | 23 --disable-shared \ |
23 --disable-dynamic \ | |
24 --disable-threads \ | 24 --disable-threads \ |
25 --disable-nls | 25 --disable-nls |
26 $(MAKE) -C '$(1)'/src/liblzma -j '$(JOBS)' install | 26 $(MAKE) -C '$(1)'/src/liblzma -j '$(JOBS)' install |
27 endef | 27 endef |