Mercurial > mxe-octave
annotate src/vmime.mk @ 3725:2acaa9943159
qscintilla: update 2.8.4
* src/qscintilla.mk: update to version and checksum for 2.8.4
author | John Donoghue |
---|---|
date | Mon, 20 Oct 2014 11:01:00 -0400 |
parents | 13be64f9f16d |
children | de2eedecd6ba |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1668
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
474
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := vmime |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := fc9bc26 |
2851 | 7 $(PKG)_CHECKSUM := 670aaecfbab41747e3a8f1d80dd757eb01ac93cb |
2847
d37122aa7a10
package vmime: use github tarball
Mark Brand <mabrand@mabrand.nl>
parents:
2573
diff
changeset
|
8 $(PKG)_SUBDIR := kisli-vmime-$($(PKG)_VERSION) |
d37122aa7a10
package vmime: use github tarball
Mark Brand <mabrand@mabrand.nl>
parents:
2573
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
d37122aa7a10
package vmime: use github tarball
Mark Brand <mabrand@mabrand.nl>
parents:
2573
diff
changeset
|
10 $(PKG)_URL := https://github.com/kisli/vmime/tarball/$($(PKG)_VERSION)/$(PKG)_FILE |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := libiconv gnutls libgsasl pthreads zlib |
474
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
2847
d37122aa7a10
package vmime: use github tarball
Mark Brand <mabrand@mabrand.nl>
parents:
2573
diff
changeset
|
14 $(WGET) -q -O- 'https://github.com/kisli/vmime/commits/master' | \ |
d37122aa7a10
package vmime: use github tarball
Mark Brand <mabrand@mabrand.nl>
parents:
2573
diff
changeset
|
15 $(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \ |
d37122aa7a10
package vmime: use github tarball
Mark Brand <mabrand@mabrand.nl>
parents:
2573
diff
changeset
|
16 head -1 |
474
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
2848 | 20 cd '$(1)' && cmake \ |
21 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ | |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
22 -DCMAKE_AR='$(MXE_AR)' \ |
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
23 -DCMAKE_RANLIB='$(MXE_RANLIB)' \ |
2848 | 24 . |
719
bfc3a4937bcb
restored fix for the libvmime.a filename in package vmime
Mark Brand <mabrand@mabrand.nl>
parents:
714
diff
changeset
|
25 |
474
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 # Disable VMIME_HAVE_MLANG_H |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 # We have the header, but there is no implementation for IMultiLanguage in MinGW |
759
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
745
diff
changeset
|
28 $(SED) -i 's,^#define VMIME_HAVE_MLANG_H 1$$,,' '$(1)/vmime/config.hpp' |
474
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 $(MAKE) -C '$(1)' -j '$(JOBS)' |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 $(MAKE) -C '$(1)' install |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
32 $(INSTALL) -m644 '$(1)/vmime/config.hpp' '$(HOST_INCDIR)/vmime/' |
995
ca1299bb06e3
fix use of pthreads in package vmime
Mark Brand <mabrand@mabrand.nl>
parents:
933
diff
changeset
|
33 |
ca1299bb06e3
fix use of pthreads in package vmime
Mark Brand <mabrand@mabrand.nl>
parents:
933
diff
changeset
|
34 $(SED) -i 's/posix/windows/g;' '$(1)/examples/example6.cpp' |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
35 $(MXE_CXX) -s -o '$(1)/examples/test-vmime.exe' \ |
995
ca1299bb06e3
fix use of pthreads in package vmime
Mark Brand <mabrand@mabrand.nl>
parents:
933
diff
changeset
|
36 '$(1)/examples/example6.cpp' \ |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
37 `'$(MXE_PKG_CONFIG)' libvmime --cflags --libs` |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
38 $(INSTALL) -m755 '$(1)/examples/test-vmime.exe' '$(HOST_BINDIR)' |
474
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
39 endef |