libpam will soon install to /usr/lib instead of /lib. Adjust accordingly.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
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)?
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