Quick
index
main
eev
maths
blogme
dednat4
littlelangs
PURO
(GAC2,
λ, etc)
(Chapa 1)

emacs
lua
(la)tex
fvwm
tcl
forth
icon
debian
irc
contact

find-luarocks-links

A sexp like

(find-luarocks-links "ltcltk" "0.9-1")

Generates a temporary buffer containing this e-script:

# (find-luarocks-links "ltcltk" "0.9-1")
# (find-angg ".emacs.templates" "find-luarocks-links")

# Search (locally):
# (find-luarocksfile "lib/lua/5.1/")
# (find-luarocksfile "lib/luarocks/rocks/")
# (find-luarocksfile "bin/" "ltcltk")
# (find-luarockssh "find * | sort")
# (find-luarocksfile "")
# (find-luarockssh "bin/luarocks")
# (find-luarockssh "bin/luarocks list")
# (find-luarockssh "bin/luarocks list ltcltk")
# (find-luarockssh "bin/luarocks show ltcltk")
# (find-luarockssh "bin/luarocks help search")
# (find-luarockssh "bin/luarocks help list")

# Search and download (from the internet):
# http://luarocks.org/repositories/rocks/
# http://luarocks.org/repositories/rocks/index.html#ltcltk
# (find-luarockssh "bin/luarocks search -all")
# (find-luarockssh "bin/luarocks search   ltcltk")
# (find-luarockssh "bin/luarocks download ltcltk")

# Install (from the internet):
* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
cd ~/usrc/luarocks/bin/
./luarocks install  ltcltk  |& tee oli-ltcltk

# Test:
* (eepitch-lua51)
* (eepitch-kill)
* (eepitch-lua51)
userocks()  -- (find-angg "LUA/lua50init.lua" "userocks")
require "ltcltk"

# Inspect and unpack:
* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
# (find-luarocksfile "bin/" "ltcltk")
# (find-luarocksfile    "bin/ltcltk-0.9-1.src.rock")
unzip -l ~/usrc/luarocks/bin/ltcltk-0.9-1.src.rock
unzip -p ~/usrc/luarocks/bin/ltcltk-0.9-1.src.rock ltcltk-0.9-1.tar.gz \
  | tar -tvzf -
rm -Rv ~/usrc/ltcltk-0.9-1/
unzip -p ~/usrc/luarocks/bin/ltcltk-0.9-1.src.rock ltcltk-0.9-1.tar.gz \
  | tar -C ~/usrc/ -xvzf -
cd     ~/usrc/ltcltk-0.9-1/

;; (find-angg ".emacs" "luarocks")
;; (find-luarocks-links "ltcltk" "0.9-1")
;; (find-ltcltkfile "")
(code-c-d "ltcltk" "~/usrc/ltcltk-0.9-1/")

The source code for find-luarocks-links is here. It was created by running first M-x find-find-links-links, then (find-find-links-links "luarocks"), then modifying the result.