oath-toolkit: add InstallDev section
This package seems to be missing an InstallDev section. Had a compile failure for an application that needs to compile against liboath Signed-off-by: Thlv Alivs <zgmzzzz18@gmail.com>
This commit is contained in:
parent
77d9de45d0
commit
a0c44d24e9
1 changed files with 8 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=oath-toolkit
|
PKG_NAME:=oath-toolkit
|
||||||
PKG_VERSION:=2.6.5
|
PKG_VERSION:=2.6.5
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SAVANNAH/oath-toolkit
|
PKG_SOURCE_URL:=@SAVANNAH/oath-toolkit
|
||||||
|
@ -44,6 +44,13 @@ define Package/oath-toolkit/description
|
||||||
HOTP algorithm (RFC4226) and the time-based TOTP algorithm (RFC6238).
|
HOTP algorithm (RFC4226) and the time-based TOTP algorithm (RFC6238).
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/InstallDev
|
||||||
|
$(INSTALL_DIR) $(1)/usr/include/liboath
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/oath-toolkit/install
|
define Package/oath-toolkit/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
|
Loading…
Reference in a new issue