2 # Copyright (C) 2009-2010 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).orig.tar.gz
15 PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/libc/libcrypto++/
16 PKG_MD5SUM:=681f830145bf93cbc16113eaf61fbe2a
19 PKG_REMOVE_FILES:=aclocal.m4 GNUmakefile
22 include $(INCLUDE_DIR)/package.mk
24 define Package/libcryptoxx
28 TITLE:=Crypto++ is library for creating C++ programs which use cryptographic algorithms
29 URL:=http://packages.debian.org/sid/libcrypto++-dev
32 define Package/package/libcryptoxx
33 Crypto++ is library for creating C++ programs which use cryptographic algorithms.
34 The library uses a Pipes & Filters architecture with heavy use of templates and
35 abstract base classes.
45 define Build/InstallDev
46 $(INSTALL_DIR) $(1)/usr/include/crypto++
47 $(CP) $(PKG_INSTALL_DIR)/usr/include/crypto--/* $(1)/usr/include/crypto++/
48 $(INSTALL_DIR) $(1)/usr/lib
49 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcrypto++.{a,so*} $(1)/usr/lib/
52 define Package/libcryptoxx/install
53 $(INSTALL_DIR) $(1)/usr/lib
54 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcrypto++.so* $(1)/usr/lib/
57 $(eval $(call BuildPackage,libcryptoxx))