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
/
29 define Package
/cppunit
/description
30 Unit Testing Library for C
++
34 $(MAKE
) -C
$(PKG_BUILD_DIR
) DESTDIR
="$(PKG_INSTALL_DIR)" install
37 define Build
/InstallDev
38 $(INSTALL_DIR
) $(1)/usr
/include/cppunit
39 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/cppunit
$(1)/usr
/include
40 $(INSTALL_DIR
) $(1)/usr
/lib
41 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libcppunit
*so
* $(1)/usr
/lib
/
44 define Package
/cppunit
/install
45 $(INSTALL_DIR
) $(1)/usr
/lib
46 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libcppunit
*so
* $(1)/usr
/lib
/
49 $(eval
$(call BuildPackage
,cppunit
))