google-authenticator-libpam: fix InstallDev paths
authorRosen Penev <rosenp@gmail.com>
Sun, 29 Nov 2020 06:13:11 +0000 (22:13 -0800)
committerRosen Penev <rosenp@gmail.com>
Mon, 30 Nov 2020 09:03:29 +0000 (01:03 -0800)
libpam will soon install to /usr/lib instead of /lib. Adjust accordingly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/google-authenticator-libpam/Makefile

index f7e3c0fe66deb60cfa5048e7e4a730bd3e5d8c57..70acb1ef97efc634c072b23c2d4967ae29b71510 100644 (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