[packages] pcsc-lite: update to 1.8.2 (#9005, #10494)
[openwrt/svn-archive/archive.git] / devel / cppunit / Makefile
1 #
2 # Copyright (C) 2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=cppunit
11 PKG_VERSION:=1.12.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/cppunit
16 PKG_MD5SUM:=bd30e9cf5523cdfc019b94f5e1d7fd19
17
18 include $(INCLUDE_DIR)/host-build.mk
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/cppunit
22 SECTION:=devel
23 CATEGORY:=Development
24 TITLE:=Unit Testing Library for C++
25 URL:=http://cppunit.sourceforge.net/
26 endef
27
28 define Package/cppunit/description
29 Unit Testing Library for C++
30 endef
31
32 define Build/Compile
33 $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
34 endef
35
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/
41 endef
42
43 define Package/cppunit/install
44 $(INSTALL_DIR) $(1)/usr/lib
45 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcppunit*so* $(1)/usr/lib/
46 endef
47
48 $(eval $(call BuildPackage,cppunit))