annotate src/libodbc++.mk @ 678:dd87627dec30

use autoconf for package libodbc++
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 04 Feb 2010 23:06:26 +0100
parents dab071eac9c0
children 29f1ba4559ae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 518
diff changeset
1 # This file is part of mingw-cross-env.
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 518
diff changeset
2 # See doc/index.html or doc/README 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 # libodbc++
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := libodbc++
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_VERSION := 0.2.5
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 8a77921b21c23926042c413f4a7a187a3656025b
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := libodbc++-$($(PKG)_VERSION)
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := libodbc++-$($(PKG)_VERSION).tar.bz2
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://libodbcxx.sourceforge.net/
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/libodbcxx/libodbc++/$($(PKG)_VERSION)/$($(PKG)_FILE)
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://libodbcxx.svn.sourceforge.net/viewvc/libodbcxx/tags/?sortby=date' | \
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 grep '<a name="' | \
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) -n 's,.*<a name="libodbc++-\([0-9][^"]*\)".*,\1,p' | \
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 head -1
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
678
dd87627dec30 use autoconf for package libodbc++
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
23 cd '$(1)' && autoconf
dd87627dec30 use autoconf for package libodbc++
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
24 touch '$(1)/aclocal.m4'
dd87627dec30 use autoconf for package libodbc++
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
25 touch '$(1)/Makefile.in'
dd87627dec30 use autoconf for package libodbc++
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
26 touch '$(1)/config.h.in'
518
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 cd '$(1)' && ./configure \
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --prefix='$(PREFIX)/$(TARGET)' \
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --host='$(TARGET)' \
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --disable-shared \
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --without-tests \
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --disable-dependency-tracking
7f6a2f90a32c new package: libodbc++ (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 $(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
34 endef