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)/package.mk
20 define Package/cppunit
23 TITLE:=Unit Testing Library for C++
24 URL:=http://cppunit.sourceforge.net/
27 define Package/cppunit/description
28 Unit Testing Library for C++
31 define Build/InstallDev
32 echo InstallDev installing to $(1)
33 $(INSTALL_DIR) $(1)/usr/include/cppunit
34 $(CP) $(PKG_BUILD_DIR)/include/cppunit/* $(1)/usr/include/cppunit/
35 $(INSTALL_DIR) $(1)/usr/lib
36 $(CP) $(PKG_BUILD_DIR)/src/cppunit/.libs/libcppunit*so* $(1)/usr/lib/
39 define Package/cppunit/install
40 echo install installing to $(1)
41 $(INSTALL_DIR) $(1)/usr/lib
42 $(CP) $(PKG_BUILD_DIR)/src/cppunit/.libs/libcppunit*so* $(1)/usr/lib/
45 $(eval $(call BuildPackage,cppunit))