Mercurial > mxe-octave
comparison src/ghostscript.mk @ 3759:0023c034ec4a
merge away extra head
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 30 Dec 2014 14:35:32 -0500 |
parents | 9b5ec90d870b 4f58c4b4dee0 |
children | 1a2fec9962a7 |
comparison
equal
deleted
inserted
replaced
3657:9b5ec90d870b | 3759:0023c034ec4a |
---|---|
6 $(PKG)_VERSION := 9.07 | 6 $(PKG)_VERSION := 9.07 |
7 $(PKG)_CHECKSUM := 550a85e73b7213d8ae41ea06523661638b4bc1a2 | 7 $(PKG)_CHECKSUM := 550a85e73b7213d8ae41ea06523661638b4bc1a2 |
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 | 9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 |
10 $(PKG)_URL := http://downloads.ghostscript.com/public/$($(PKG)_FILE) | 10 $(PKG)_URL := http://downloads.ghostscript.com/public/$($(PKG)_FILE) |
11 $(PKG)_DEPS := jpeg libpng tiff zlib | 11 $(PKG)_DEPS := jpeg lcms libpng tiff zlib |
12 ifeq ($(MXE_WINDOWS_BUILD),no) | |
13 $(PKG)_DEPS += x11 xext | |
14 endif | |
15 | |
16 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) | |
17 $(PKG)_DEPS += lcms | |
18 endif | |
12 | 19 |
13 define $(PKG)_UPDATE | 20 define $(PKG)_UPDATE |
14 echo 'Warning: Updates are temporarily disabled for package ghostscript.' >&2; | 21 echo 'Warning: Updates are temporarily disabled for package ghostscript.' >&2; |
15 echo $($(PKG)_VERSION) | 22 echo $($(PKG)_VERSION) |
16 endef | 23 endef |
17 | 24 |
18 ## Currently only works for native builds and i686 mingw cross builds. | 25 ## Currently only works for native builds and i686 mingw cross builds. |
19 | 26 |
20 ifeq ($(MXE_NATIVE_BUILD),yes) | 27 ifeq ($(MXE_NATIVE_BUILD),yes) |
21 define $(PKG)_BUILD | 28 define $(PKG)_BUILD |
29 # in native mingw, force it to use external lcm2 | |
30 if [ "$(MXE_SYSTEM)" == "mingw" ]; then \ | |
31 rm -rf '$(1)/lcms2'; \ | |
32 fi | |
22 cd '$(1)' && autoreconf | 33 cd '$(1)' && autoreconf |
23 cd '$(1)' && '$(1)/configure' \ | 34 cd '$(1)' && '$(1)/configure' \ |
24 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | 35 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
25 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | 36 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
26 --prefix='$(HOST_PREFIX)' \ | 37 --prefix='$(HOST_PREFIX)' \ |
27 --with-system-libtiff \ | 38 --with-system-libtiff \ |
28 && $(CONFIGURE_POST_HOOK) | 39 && $(CONFIGURE_POST_HOOK) |
29 | 40 |
30 $(MAKE) -C '$(1)' -j '$(JOBS)' | 41 if [ "$(MXE_SYSTEM)" == "mingw" ]; then \ |
42 $(MAKE) -C '$(1)' -j '$(JOBS)' GS_LIB_DEFAULT=""; \ | |
43 else \ | |
44 $(MAKE) -C '$(1)' -j '$(JOBS)'; \ | |
45 fi | |
31 $(MAKE) -C '$(1)' install | 46 $(MAKE) -C '$(1)' install |
32 endef | 47 endef |
33 else | 48 else |
34 ifeq ($(MXE_SYSTEM),mingw) | 49 ifeq ($(MXE_SYSTEM),mingw) |
35 ifneq ($(ENABLE_64),yes) | 50 ifneq ($(ENABLE_64),yes) |