annotate src/cunit.mk @ 1326:5e5a6eca6f05

upgrade package cunit: execute permissions fixed
author Tony Theodore <tonyt@logyst.com>
date Mon, 18 Oct 2010 04:32:24 +1100
parents b34315c4432c
children 61dda1d437e2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1160
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
1 # This file is part of mingw-cross-env.
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)_VERSION := 2.1-2
5e5a6eca6f05 upgrade package cunit: execute permissions fixed
Tony Theodore <tonyt@logyst.com>
parents: 1324
diff changeset
8 $(PKG)_CHECKSUM := 6c2d0627eb64c09c7140726d6bf814cf531a3ce0
1160
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := CUnit-$($(PKG)_VERSION)
1323
7aaa8936c436 upgrade package cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents: 1162
diff changeset
10 $(PKG)_FILE := CUnit-$($(PKG)_VERSION)-src.tar.bz2
1161
aa64f7a5d866 bugfix for package cunit
Volker Grabsch <vog@notjusthosting.com>
parents: 1160
diff changeset
11 $(PKG)_WEBSITE := http://cunit.sourceforge.net/
1160
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
12 $(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
13 $(PKG)_DEPS := gcc
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
14
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
1162
34477d31b191 bugfix for package cunit
Volker Grabsch <vog@notjusthosting.com>
parents: 1161
diff changeset
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/cunit/files/) | \
1161
aa64f7a5d866 bugfix for package cunit
Volker Grabsch <vog@notjusthosting.com>
parents: 1160
diff changeset
17 $(SED) -n 's,.*CUnit-\([0-9][^>]*\)-src\.tar.*,\1,p' | \
1160
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
18 tail -1
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
19 endef
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
20
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
21 define $(PKG)_BUILD
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
23 --host='$(TARGET)' \
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
24 --disable-shared \
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
25 --prefix='$(PREFIX)/$(TARGET)'
69413ab30653 new package: cunit
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
26 $(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
27 endef