2 # Copyright (C) 2016 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
10 PKG_NAME
:=oath-toolkit
13 PKG_SOURCE
:=oath-toolkit-
$(PKG_VERSION
).
tar.gz
14 PKG_HASH
:=b03446fa4b549af5ebe4d35d7aba51163442d255660558cd861ebce536824aa0
15 PKG_SOURCE_URL
:=@SAVANNAH
/oath-toolkit
16 PKG_LICENSE
:=LGPL-2.0
+ GPL-3.0
+
17 PKG_LICENSE_FILES
:=COPYING
19 PKG_MAINTAINER
:=Fam Zheng
<fam@euphon.net
>
21 include $(INCLUDE_DIR
)/package.mk
27 define Package
/oath-toolkit
30 TITLE
:=Toolkit for building one-time password authentication
31 URL
:=http
://www.nongnu.org
/oath-toolkit
/index.html
35 define Package
/oath-toolkit
/description
36 The OATH Toolkit provide components for building one-time password
37 authentication systems. It contains shared libraries
, command line
38 tools and a PAM module. Supported technologies
include the event-based
39 HOTP algorithm
(RFC4226
) and the time-based TOTP algorithm
(RFC6238
).
42 define Package
/oath-toolkit
/install
43 $(INSTALL_DIR
) $(1)/usr
/bin
44 $(INSTALL_DIR
) $(1)/usr
/lib
45 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/oathtool
$(1)/usr
/bin
/
46 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/liboath.so
* $(1)/usr
/lib
/
49 $(eval
$(call BuildPackage
,oath-toolkit
))