Mercurial > mxe-octave
comparison src/libharu.mk @ 2234:109d622402db
new packages: libharu wt
author | Luis Saavedra <luis94855510@gmail.com> |
---|---|
date | Fri, 03 Feb 2012 15:49:28 +0100 |
parents | |
children | 44319d50af0b |
comparison
equal
deleted
inserted
replaced
2232:961e62f6634a | 2234:109d622402db |
---|---|
1 # This file is part of mingw-cross-env. | |
2 # See doc/index.html for further information. | |
3 | |
4 # libharu | |
5 PKG := libharu | |
6 $(PKG)_IGNORE := | |
7 $(PKG)_VERSION := 2.2.1 | |
8 $(PKG)_CHECKSUM := b75ec6052b8d72aa7f23d67adcdf9df4847b64ca | |
9 $(PKG)_SUBDIR := libharu-$($(PKG)_VERSION) | |
10 $(PKG)_FILE := libharu-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_WEBSITE := http://libharu.org | |
12 $(PKG)_URL := http://libharu.org/files/$($(PKG)_FILE) | |
13 $(PKG)_DEPS := gcc zlib libpng | |
14 | |
15 define $(PKG)_UPDATE | |
16 wget -q -O- 'http://libharu.org/files/' | \ | |
17 grep 'libharu-' | \ | |
18 $(SED) -n 's,.*libharu-\([0-9][^>]*\)\.tar.*,\1,p' | \ | |
19 head -1 | |
20 endef | |
21 | |
22 define $(PKG)_BUILD | |
23 cd '$(1)' && ./configure \ | |
24 --host='$(TARGET)' \ | |
25 --prefix='$(PREFIX)/$(TARGET)' \ | |
26 --disable-shared \ | |
27 --with-zlib \ | |
28 --with-png | |
29 $(MAKE) -C '$(1)' -j '$(JOBS)' install | |
30 endef |