gnu: lua5.1-socket: Update to 3.0-rc1 (for IPv6 support).

* gnu/packages/lua.scm (lua5.1-socket): Update to 3.0-rc1.
[source]: Change upstream URI.
[arguments]: Set INSTALL_TOP environment variable instead of INSTALL_TOP_SHARE
and INSTALL_TOP_LIB.
This commit is contained in:
Clément Lassieur 2017-12-04 16:12:27 +01:00
parent 2ec42868b0
commit 50269c0197
No known key found for this signature in database
GPG Key ID: 89F96D4808F359C7
1 changed files with 6 additions and 7 deletions

View File

@ -173,21 +173,20 @@ language.")
(define-public lua5.1-socket
(package
(name "lua5.1-socket")
(version "2.0.2")
(version "3.0-rc1")
(source (origin
(method url-fetch)
(uri (string-append "http://files.luaforge.net/releases/"
"luasocket/luasocket/luasocket-"
version "/luasocket-" version ".tar.gz"))
(uri (string-append
"https://github.com/diegonehab/luasocket/archive/v"
version ".tar.gz"))
(sha256
(base32
"19ichkbc4rxv00ggz8gyf29jibvc2wq9pqjik0ll326rrxswgnag"))))
"0j8jx8bjicvp9khs26xjya8c495wrpb7parxfnabdqa5nnsxjrwb"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
(let ((out (assoc-ref %outputs "out")))
(list (string-append "INSTALL_TOP_SHARE=" out "/share/lua/5.1")
(string-append "INSTALL_TOP_LIB=" out "/lib/lua/5.1")))
(list (string-append "INSTALL_TOP=" out)))
#:phases
(modify-phases %standard-phases
(delete 'configure)