diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-04-20 10:42:41 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-04-20 10:42:41 (GMT) |
commit | c4585f01538c75ee7ba2c123efda9a8b86de2a2b (patch) | |
tree | 74d833840cc176b02b48a6b4a509a8d30082646f /src/cppunit.mk | |
parent | 0249846baff7d7480900be995db22c9d0cd98fd8 (diff) | |
download | mxe-c4585f01538c75ee7ba2c123efda9a8b86de2a2b.zip mxe-c4585f01538c75ee7ba2c123efda9a8b86de2a2b.tar.gz mxe-c4585f01538c75ee7ba2c123efda9a8b86de2a2b.tar.bz2 |
new package: cppunit (by Giuseppe Scrivano)
Diffstat (limited to 'src/cppunit.mk')
-rw-r--r-- | src/cppunit.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/cppunit.mk b/src/cppunit.mk new file mode 100644 index 0000000..0cedecb --- /dev/null +++ b/src/cppunit.mk @@ -0,0 +1,25 @@ +# CppUnit + +PKG := cppunit +$(PKG)_VERSION := 1.12.1 +$(PKG)_CHECKSUM := f1ab8986af7a1ffa6760f4bacf5622924639bf4a +$(PKG)_SUBDIR := cppunit-$($(PKG)_VERSION) +$(PKG)_FILE := cppunit-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://apps.sourceforge.net/mediawiki/cppunit/ +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/cppunit/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + wget -q -O- 'http://sourceforge.net/project/showfiles.php?group_id=11795&package_id=11019' | \ + grep 'cppunit-' | \ + $(SED) -n 's,.*cppunit-\([0-9][^>]*\)\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' + $(MAKE) -C '$(1)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= defexec_DATA= +endef |