Showing the changes to src/cppunit.mk (1 of 1 file). Show all
Unified · Split
| @@ -0,0 +1,25 @@ | ||
| 1 | +# CppUnit | |
| 2 | + | |
| 3 | +PKG := cppunit | |
| 4 | +$(PKG)_VERSION := 1.12.1 | |
| 5 | +$(PKG)_CHECKSUM := f1ab8986af7a1ffa6760f4bacf5622924639bf4a | |
| 6 | +$(PKG)_SUBDIR := cppunit-$($(PKG)_VERSION) | |
| 7 | +$(PKG)_FILE := cppunit-$($(PKG)_VERSION).tar.gz | |
| 8 | +$(PKG)_WEBSITE := http://apps.sourceforge.net/mediawiki/cppunit/ | |
| 9 | +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/cppunit/$($(PKG)_FILE) | |
| 10 | +$(PKG)_DEPS := gcc | |
| 11 | + | |
| 12 | +define $(PKG)_UPDATE | |
| 13 | + wget -q -O- 'http://sourceforge.net/project/showfiles.php?group_id=11795&package_id=11019' | \ | |
| 14 | + grep 'cppunit-' | \ | |
| 15 | + $(SED) -n 's,.*cppunit-\([0-9][^>]*\)\.tar.*,\1,p' | \ | |
| 16 | + head -1 | |
| 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 | |