History

new package: cppunit (by Giuseppe Scrivano)

Volker Grabsch committed 17 years ago

Commit c4585f01 parent 02498461 file · +25 −0Browse files

Showing the changes to src/cppunit.mk (1 of 1 file). Show all

Unified · Split

src/cppunit.mk+25−0
@@ -0,0 +1,25 @@
1# CppUnit
2
3PKG := 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
12define $(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
17endef
18
19define $(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=
25endef

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t