Mercurial > mxe-octave
annotate src/epstool.mk @ 4659:073464b5e319
build-flex: allow build to work on systems without flex
* build-flex-1-fixes.patch: Also patch generated scan.c file so that
build will succeed on systems that don't have flex installed.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 12 Apr 2018 17:37:58 -0400 |
parents | b68c2c052a28 |
children | d461d2670df7 |
rev | line source |
---|---|
3762 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := epstool | |
5 $(PKG)_VERSION := 3.08 | |
6 $(PKG)_CHECKSUM := dc495934f06d3ea8b3209e8b02ea96c66c34f614 | |
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := http://pkgs.fedoraproject.org/repo/pkgs/epstool/epstool-3.08.tar.gz/465a57a598dbef411f4ecbfbd7d4c8d7/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := | |
11 | |
12 define $(PKG)_UPDATE | |
13 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; | |
14 echo $($(PKG)_VERSION) | |
15 endef | |
16 | |
17 define $(PKG)_BUILD | |
3900
b68c2c052a28
eliminate extra /usr directory level for cross build of epstool
John W. Eaton <jwe@octave.org>
parents:
3895
diff
changeset
|
18 cd '$(1)' && make CC="$(MXE_CC)" CLINK=$(MXE_CC) LDFLAGS="$(MXE_LDFLAGS)" CFLAGS="$(MXE_CFLAGS)" prefix="$(HOST_PREFIX)" EPSTOOL_ROOT="/" |
b68c2c052a28
eliminate extra /usr directory level for cross build of epstool
John W. Eaton <jwe@octave.org>
parents:
3895
diff
changeset
|
19 cd '$(1)' && make prefix="$(3)$(HOST_PREFIX)" EPSTOOL_ROOT="/" install |
3762 | 20 endef |