Mercurial > mxe-octave
annotate src/vmime.mk @ 683:9a35ed88357b
use the autotools for package vmime
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Fri, 05 Feb 2010 02:32:29 +0100 |
parents | dab071eac9c0 |
children | 93f1be1d2089 |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
474
diff
changeset
|
1 # This file is part of mingw-cross-env. |
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
474
diff
changeset
|
2 # See doc/index.html or doc/README 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 # VMime |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 PKG := vmime |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 $(PKG)_IGNORE := |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 $(PKG)_VERSION := 0.9.0 |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_CHECKSUM := 02215e1d8ea758f486c32e7bff63a04f71a9b736 |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := libvmime-$($(PKG)_VERSION) |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 $(PKG)_FILE := libvmime-$($(PKG)_VERSION).tar.bz2 |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 $(PKG)_WEBSITE := http://vmime.sourceforge.net/ |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/vmime/vmime/0.9/$($(PKG)_FILE) |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 $(PKG)_DEPS := gcc libiconv gnutls libgsasl |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/vmime/files/vmime/) | \ |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 $(SED) -n 's,.*vmime-\([0-9][^>]*\)\.tar\.bz2.*,\1,p' | \ |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 tail -1 |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 endef |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 define $(PKG)_BUILD |
683
9a35ed88357b
use the autotools for package vmime
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
22 cd '$(1)' && ./bootstrap |
474
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 cd '$(1)' && ./configure \ |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 --prefix='$(PREFIX)/$(TARGET)' \ |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 --host='$(TARGET)' \ |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 --disable-shared \ |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 --enable-platform-windows \ |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 --disable-rpath \ |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 --disable-dependency-tracking |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 # Disable VMIME_HAVE_MLANG_H |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 # We have the header, but there is no implementation for IMultiLanguage in MinGW |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
33 $(SED) 's,^#define VMIME_HAVE_MLANG_H 1$$,,' -i '$(1)/vmime/config.hpp' |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
34 |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
35 $(MAKE) -C '$(1)' -j '$(JOBS)' |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 $(MAKE) -C '$(1)' install |
624e75610f23
new package: vmime (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
37 endef |