2 # Copyright (C) 2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/cppunit
16 PKG_MD5SUM
:=bd30e9cf5523cdfc019b94f5e1d7fd19
18 include $(INCLUDE_DIR
)/host-build.mk
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/cppunit
24 TITLE
:=Unit Testing Library for C
++
25 URL
:=http
://cppunit.sourceforge.net
/
28 define Package
/cppunit
/description
29 Unit Testing Library for C
++
33 $(MAKE
) -C
$(PKG_BUILD_DIR
) DESTDIR
="$(PKG_INSTALL_DIR)" install
36 define Build
/InstallDev
37 $(INSTALL_DIR
) $(1)/usr
/include/cppunit
38 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/cppunit
$(1)/usr
/include
39 $(INSTALL_DIR
) $(1)/usr
/lib
40 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libcppunit
*so
* $(1)/usr
/lib
/
43 define Package
/cppunit
/install
44 $(INSTALL_DIR
) $(1)/usr
/lib
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libcppunit
*so
* $(1)/usr
/lib
/
48 $(eval
$(call BuildPackage
,cppunit
))