comparison src/cunit.mk @ 1160:69413ab30653

new package: cunit
author Martin Gerhardy <martin.gerhardy@gmail.com>
date Sat, 18 Sep 2010 21:59:04 +0200
parents
children aa64f7a5d866
comparison
equal deleted inserted replaced
1153:286c23180408 1160:69413ab30653
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
11 $(PKG)_WEBSITE := http://cunit.sourceforge.net
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/cunit/CUnit/$($(PKG)_VERSION)/$($(PKG)_FILE)
13 $(PKG)_DEPS := gcc
14
15 define $(PKG)_UPDATE
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/cunit/files/cunit/) | \
17 $(SED) -n 's,.*CUnit-\([0-9][^>]*\)\.tar.*,\1,p' | \
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