annotate src/libodbc++.mk @ 3561:ae4193aad5fe

revise and enable more $(PKG)_UPDATE rules
author John W. Eaton <jwe@octave.org>
date Sat, 08 Mar 2014 17:40:00 -0500
parents 13be64f9f16d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 714
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.
518
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := libodbc++
7f6a2f90a32c new package: libodbc++ (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 := 0.2.5
518
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 8a77921b21c23926042c413f4a7a187a3656025b
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := libodbc++-$($(PKG)_VERSION)
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := libodbc++-$($(PKG)_VERSION).tar.bz2
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/libodbcxx/libodbc++/$($(PKG)_VERSION)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
11 $(PKG)_DEPS :=
518
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
3561
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
15 echo $($(PKG)_VERSION)
518
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
2926
6e44b2527dbb shared libraries for libodbc++
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
19 cd '$(1)' && autoreconf --install
518
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2926
diff changeset
21 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2997
diff changeset
22 --prefix='$(HOST_PREFIX)' \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
24 $(ENABLE_SHARED_OR_STATIC) \
518
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --without-tests \
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --disable-dependency-tracking
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 $(MAKE) -C '$(1)' -j '$(JOBS)' install doxygen= progref_dist_files=
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 endef