Mercurial > mxe-octave
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 |
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 | 2 # See doc/index.html for further information. |
3 | |
4 # cunit | |
5 PKG := cunit | |
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 | 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 | 10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/cunit/CUnit/$($(PKG)_VERSION)/$($(PKG)_FILE) |
11 $(PKG)_DEPS := gcc | |
12 | |
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 | 17 endef |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./configure \ | |
21 --host='$(TARGET)' \ | |
22 --disable-shared \ | |
23 --prefix='$(PREFIX)/$(TARGET)' | |
24 $(MAKE) -C '$(1)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= defexec_DATA= | |
25 endef |