Mercurial > mxe-octave
annotate src/cppunit.mk @ 641:dab071eac9c0
simplified file markers
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 16 Jan 2010 23:02:02 +0100 |
parents | e9afec55fd6b |
children | 29f1ba4559ae |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
448
diff
changeset
|
1 # This file is part of mingw-cross-env. |
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
448
diff
changeset
|
2 # See doc/index.html or doc/README for further information. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
408
diff
changeset
|
3 |
327
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 # CppUnit |
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 PKG := cppunit |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
422
diff
changeset
|
6 $(PKG)_IGNORE := |
327
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 $(PKG)_VERSION := 1.12.1 |
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_CHECKSUM := f1ab8986af7a1ffa6760f4bacf5622924639bf4a |
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := cppunit-$($(PKG)_VERSION) |
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 $(PKG)_FILE := cppunit-$($(PKG)_VERSION).tar.gz |
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 $(PKG)_WEBSITE := http://apps.sourceforge.net/mediawiki/cppunit/ |
422
d2f5eb27e051
improved download URLs for all SourceForge packages to ensure that the selected SOURCEFORGE_MIRROR is really used
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/cppunit/cppunit/$($(PKG)_VERSION)/$($(PKG)_FILE) |
327
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 $(PKG)_DEPS := gcc |
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
408
413750a629be
improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
329
diff
changeset
|
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/cppunit/files/cppunit/) | \ |
327
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 $(SED) -n 's,.*cppunit-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
408
413750a629be
improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
329
diff
changeset
|
18 tail -1 |
327
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 endef |
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 |
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 define $(PKG)_BUILD |
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 cd '$(1)' && ./configure \ |
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 --host='$(TARGET)' \ |
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 --disable-shared \ |
329
522b01e6ec2a
disable documentation build in package cppunit
Volker Grabsch <vog@notjusthosting.com>
parents:
327
diff
changeset
|
25 --prefix='$(PREFIX)/$(TARGET)' \ |
522b01e6ec2a
disable documentation build in package cppunit
Volker Grabsch <vog@notjusthosting.com>
parents:
327
diff
changeset
|
26 --disable-doxygen \ |
522b01e6ec2a
disable documentation build in package cppunit
Volker Grabsch <vog@notjusthosting.com>
parents:
327
diff
changeset
|
27 --disable-dot \ |
522b01e6ec2a
disable documentation build in package cppunit
Volker Grabsch <vog@notjusthosting.com>
parents:
327
diff
changeset
|
28 --disable-html-docs \ |
522b01e6ec2a
disable documentation build in package cppunit
Volker Grabsch <vog@notjusthosting.com>
parents:
327
diff
changeset
|
29 --disable-latex-docs |
327
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 $(MAKE) -C '$(1)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= defexec_DATA= |
a3d7d9fc1c62
new package: cppunit (by Giuseppe Scrivano)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 endef |