From 6f2dd1938053faeb68af7b2dc77a5a9d8343cd69 Mon Sep 17 00:00:00 2001 From: Herbert Leuwer Date: Fri, 14 Apr 2017 12:43:12 +0200 Subject: [PATCH] cleanup rockspec; add luarocks installation to README --- README | 14 ++++++++++++++ luagraph-2.0.0-1.rockspec | 4 ---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/README b/README index 6587c58..caaaa95 100644 --- a/README +++ b/README @@ -38,6 +38,8 @@ LuaGRAPH https://github.com/hleuwer/luagraph + or install with luarocks. See below under "Installation". + * Configuration ------------- @@ -70,7 +72,19 @@ LuaGRAPH * Installation ------------ + + Install via Luarocks + - - - - - - - - - - + Simply type the following: + + $ sudo luarocks GRAPHVIZ_DIR=/opt/local install luagraph + + You may have to change the value for the GRAPHVIZ_DIR variable to ensure + that luarocks finds your GRAPHVIZ installation. On MacOS it is typically + installed in /opt/local. + Manual Installation + - - - - - - - - - - In order to build LuaGRAPH on a Linux, Unix or Cygwin/Mingw based POSIX like system: diff --git a/luagraph-2.0.0-1.rockspec b/luagraph-2.0.0-1.rockspec index 1713ec2..fd84416 100644 --- a/luagraph-2.0.0-1.rockspec +++ b/luagraph-2.0.0-1.rockspec @@ -5,10 +5,6 @@ source = { tag = "2.0.0-1", url = "git://github.com/hleuwer/luagraph.git" } --- source = { --- url = "http://luaforge.net/frs/download.php/4528/luagraph-2.0.0.tar.gz", --- md5 = "f2f71bcbabf243792e230665b1403f58" --- } description = { summary = "A binding to the graphviz graph library", detailed = [[ -- 2.11.4.GIT