Mercurial > mxe-octave
comparison src/transfig.mk @ 3374:7b62537d0f8a
Add transfig package
* index.html: add transfig 3.2.5e
* src/mingw-transfig-1-configure.patch: New file.
* src/transfig.mk: New file.
* mk-dist: Added transfig to build targets
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 31 Dec 2013 11:20:01 -0500 |
parents | |
children | 13be64f9f16d |
comparison
equal
deleted
inserted
replaced
3373:e9576ebedb26 | 3374:7b62537d0f8a |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := transfig | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := 27aa9691bf84f8775db9be39c453a8132148bad1 | |
7 $(PKG)_SUBDIR := $(PKG).$($(PKG)_VERSION) | |
8 $(PKG)_FILE := $(PKG).$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mcj/mcj-source/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := jpeg libpng | |
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 | |
18 cd '$(1)' && chmod 755 configure && aclocal && automake --add-missing && autoconf \ | |
19 && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ | |
20 BITMAPDIR="/share/$(PKG)/bitmaps" \ | |
21 RGB_FILE="/share/$(PKG)/rgb.txt" \ | |
22 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
24 --prefix='$(HOST_PREFIX)' | |
25 | |
26 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
27 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' | |
28 endef |