google-authenticator-libpam: fix InstallDev paths

libpam will soon install to /usr/lib instead of /lib. Adjust accordingly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-11-28 22:13:11 -08:00
parent 56bbf351a6
commit 002ad117ae
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=google-authenticator-libpam
PKG_VERSION:=1.09
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/google/google-authenticator-libpam/tar.gz/$(PKG_VERSION)?
@ -36,8 +36,8 @@ define Package/google-authenticator-libpam/description
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/lib/security
$(CP) $(PKG_INSTALL_DIR)/usr/lib/security/* $(1)/lib/security/
$(INSTALL_DIR) $(1)/usr/lib/security
$(CP) $(PKG_INSTALL_DIR)/usr/lib/security/* $(1)/usr/lib/security/
endef
define Package/google-authenticator-libpam/install