annotate src/cunit.mk @ 5545:78a98ff1efd8

configure.ac: Default USE_SYSTEM_OCTAVE to MXE_NATIVE_BUILD (bug #49503).
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 02 Oct 2020 13:54:27 +0200
parents dc3eb553f5e9
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: 1462
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.
1160
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
3
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
4 PKG := cunit
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.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 := 2.1-2
1326
5e5a6eca6f05 upgrade package cunit: execute permissions fixed
Tony Theodore <tonyt@logyst.com>
parents: 1324
diff changeset
7 $(PKG)_CHECKSUM := 6c2d0627eb64c09c7140726d6bf814cf531a3ce0
1160
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := CUnit-$($(PKG)_VERSION)
1323
7aaa8936c436 upgrade package cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents: 1162
diff changeset
9 $(PKG)_FILE := CUnit-$($(PKG)_VERSION)-src.tar.bz2
1160
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/cunit/CUnit/$($(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 :=
1160
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
12
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
14 $(WGET) -q -O- 'http://sourceforge.net/projects/cunit/files/CUnit/' | \
4601
dc3eb553f5e9 update UPDATE rule for sourceforge projects with version directories
John D
parents: 3480
diff changeset
15 $(SED) -n 's,.*tr title="\([0-9][^"]*\)".*,\1,p' | \
1462
61dda1d437e2 improved update script of packages: boost cppunit cunit expat freetype glew pcre pdcurses wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents: 1326
diff changeset
16 head -1
1160
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
17 endef
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
18
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
19 define $(PKG)_BUILD
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
21 $(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
22 $(ENABLE_SHARED_OR_STATIC) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
23 --prefix='$(HOST_PREFIX)'
1160
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
24 $(MAKE) -C '$(1)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= defexec_DATA=
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
25 endef