3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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

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)