annotate src/cunit.mk @ 2349:f48c5b085a38

Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 11:07:07 +0200
parents f653602a0500
children 99516e73b368
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.
1160
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
2 # See doc/index.html for further information.
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 # cunit
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
5 PKG := cunit
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
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)
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
11 $(PKG)_DEPS := gcc
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
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
14 wget -q -O- 'http://sourceforge.net/projects/cunit/files/CUnit/' | \
61dda1d437e2 improved update script of packages: boost cppunit cunit expat freetype glew pcre pdcurses wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents: 1326
diff changeset
15 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
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 \
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
21 --host='$(TARGET)' \
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
22 --disable-shared \
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
23 --prefix='$(PREFIX)/$(TARGET)'
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