LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)" &&
LUADBI_INSTALL="${INSTALL_ROOT}/${LUA_LIB}" &&

install -vm 0755 -d "${LUADBI_INSTALL}" &&

install -vm 0644 DBI.lua "${LUADBI_INSTALL}" &&

for so in *.so; do
  install -vm 0755 "$so" "${LUADBI_INSTALL}/$so"
done
