annotate src/cppunit.mk @ 1466:2726fbef533c

improved update script of all remaining SourceForge packages
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 02 Dec 2010 20:31:45 +0100
parents 61dda1d437e2
children 9e587ca588dc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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.
714
29f1ba4559ae point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
2 # See doc/index.html 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)
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1462
diff changeset
10 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1462
diff changeset
11 $(PKG)_WEBSITE := http://apps.sourceforge.net/mediawiki/$(PKG)/
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1462
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(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
1462
61dda1d437e2 improved update script of packages: boost cppunit cunit expat freetype glew pcre pdcurses wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents: 1461
diff changeset
16 wget -q -O- 'http://sourceforge.net/projects/cppunit/files/cppunit/' | \
1461
c7f82b5c65a2 improved update script of package cppunit
Volker Grabsch <vog@notjusthosting.com>
parents: 1120
diff changeset
17 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
c7f82b5c65a2 improved update script of package cppunit
Volker Grabsch <vog@notjusthosting.com>
parents: 1120
diff changeset
18 head -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