Mercurial > mxe-octave
annotate src/cunit.mk @ 1162:34477d31b191
bugfix for package cunit
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 18 Sep 2010 22:15:10 +0200 |
parents | aa64f7a5d866 |
children | 7aaa8936c436 |
rev | line source |
---|---|
1160 | 1 # This file is part of mingw-cross-env. |
2 # See doc/index.html for further information. | |
3 | |
4 # cunit | |
5 PKG := cunit | |
6 $(PKG)_IGNORE := | |
7 $(PKG)_VERSION := 2.1-0 | |
8 $(PKG)_CHECKSUM := 05920c1defda3527cee3bc82fb9eadf45c5ea7a1 | |
9 $(PKG)_SUBDIR := CUnit-$($(PKG)_VERSION) | |
10 $(PKG)_FILE := CUnit-$($(PKG)_VERSION)-src.tar.gz | |
1161
aa64f7a5d866
bugfix for package cunit
Volker Grabsch <vog@notjusthosting.com>
parents:
1160
diff
changeset
|
11 $(PKG)_WEBSITE := http://cunit.sourceforge.net/ |
1160 | 12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/cunit/CUnit/$($(PKG)_VERSION)/$($(PKG)_FILE) |
13 $(PKG)_DEPS := gcc | |
14 | |
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 | 18 tail -1 |
19 endef | |
20 | |
21 define $(PKG)_BUILD | |
22 cd '$(1)' && ./configure \ | |
23 --host='$(TARGET)' \ | |
24 --disable-shared \ | |
25 --prefix='$(PREFIX)/$(TARGET)' | |
26 $(MAKE) -C '$(1)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= defexec_DATA= | |
27 endef |