Mercurial > mxe-octave
annotate src/epstool.mk @ 7207:9ed6500e56d3 default tip @
maint: Merge release to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 17 May 2024 20:16:41 +0200 |
parents | d461d2670df7 |
children |
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 | |
5140 | 13 $(WGET) -q -O- 'http://www.ghostgum.com.au/software/epstool.htm' | \ |
14 $(SED) -n 's|.*download/epstool-\([0-9].*\)\.tar\.gz\".*|\1|p' | \ | |
15 tail -1 | |
3762 | 16 endef |
17 | |
18 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
|
19 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
|
20 cd '$(1)' && make prefix="$(3)$(HOST_PREFIX)" EPSTOOL_ROOT="/" install |
3762 | 21 endef |