Skip to content

Commit

Permalink
Update LuaRocks spec file and related documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ittner committed Oct 25, 2013
1 parent fa6b5be commit ef9e202
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
13 changes: 12 additions & 1 deletion doc/index.html
Expand Up @@ -196,7 +196,11 @@ <h2 id="contents">Contents</h2>
</ul>
</li>
<li><a href="#development">Development</a></li>
<li><a href="#download">Download and installation</a></li>
<li><a href="#download">Download and installation</a>
<ul>
<li><a href="#install.rock">Installing with LuaRocks</a></li>
</ul>
</li>
<li><a href="#load">Library loading and initialization</a></li>
<li><a href="#api">Lua-GD API</a>
<ul>
Expand Down Expand Up @@ -427,6 +431,13 @@ <h2 id="download">Download and installation</h2>
packages. The libgd2-noxpm does not have Fontconfig support.</p>


<h3 id="install.rock">Installing with LuaRocks</h3>

<p> The installation procedure described above can be automated with
<a href="http://www.luarocks.org/">LuaRocks</a>. If you have it in your
system, just type <code class="typed-command">sudo luarocks install luagd</code>
to download, build, and install Lua-GD.</p>


<h2 id="load">Library loading and initialization</h2>

Expand Down
8 changes: 3 additions & 5 deletions luagd-2.0.33r2-1.rockspec → luagd-2.0.33r3-1.rockspec
@@ -1,10 +1,8 @@
package = "LuaGD"
version = "2.0.33r2-1"
version = "2.0.33r3-1"

source = {
-- url = "http://luaforge.net/frs/download.php/1592/lua-gd-2.0.33r2.tar.gz",
url = "http://www.ittner.com.br/lua/lua-gd-2.0.33r2.tar.gz",
md5 = "69e9c07ce208ce13d4373177c2e24df0"
url = "https://github.com/ittner/lua-gd/archive/lua-gd-2.0.33r3.tar.gz",
}

description = {
Expand All @@ -18,7 +16,7 @@ graphics package, but it does include most frequently requested features,
including both truecolor and palette images, resampling (smooth resizing of
truecolor images) and so forth. It is particularly useful in Web applications.
]],
homepage = "http://lua-gd.luaforge.net/",
homepage = "http://ittner.github.io/lua-gd/",
license = "MIT/X11",
maintainer = "Alexandre Erwin Ittner"
}
Expand Down

0 comments on commit ef9e202

Please sign in to comment.