Compare commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
9b21ca5d82 |
No files matched your search
@@ -0,0 +1,36 @@
|
|||||||
|
import os
|
||||||
|
|
||||||
|
from lib import cpp
|
||||||
|
from lib.make import *
|
||||||
|
|
||||||
|
|
||||||
|
version("5.5.1")
|
||||||
|
description("Lua is a free and versatile programming language that can be used for any purpose.")
|
||||||
|
maintainer("sisungo <[email protected]>")
|
||||||
|
source_url("https://www.lua.org/ftp/lua-5.5.1.tar.gz")
|
||||||
|
|
||||||
|
builddep("shortcut/c")
|
||||||
|
builddep("shortcut/autotools")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
cpp.make()
|
||||||
|
cpp.make_install([f"INSTALL_TOP={os.getcwd()}/../cpp_install"])
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
|
||||||
|
def pack_dev(composer):
|
||||||
|
composer.makedir("lib")
|
||||||
|
composer.add("lib/liblua.a")
|
||||||
|
composer.add("include")
|
||||||
|
|
||||||
|
def pack_lua(composer):
|
||||||
|
composer.add("bin")
|
||||||
|
|
||||||
|
package("lua")
|
||||||
|
dep("semi-libc @same-arch")
|
||||||
|
on_pack(pack_lua)
|
||||||
|
|
||||||
|
package("liblua-dev")
|
||||||
|
on_pack(pack_dev)
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
from lib.make import *
|
|
||||||
from lib import cpp, arch
|
|
||||||
|
|
||||||
|
|
||||||
version("4.0.9")
|
|
||||||
description("an open-source, object-oriented programming language")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.9.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/c")
|
|
||||||
builddep("shortcut/autotools")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.configure([
|
|
||||||
"--enable-rpath",
|
|
||||||
"--enable-shared",
|
|
||||||
"--disable-yjit",
|
|
||||||
"--disable-zjit",
|
|
||||||
"--without-git",
|
|
||||||
"--without-gcc",
|
|
||||||
"--without-gmp",
|
|
||||||
"--without-jemalloc",
|
|
||||||
])
|
|
||||||
cpp.make()
|
|
||||||
cpp.make_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
Reference in new issue
Block a user