mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-23 20:10:40 +00:00
add: luamake (and langs/lua folder) (#8742)
* add: luamake (and langs/lua folder) Signed-off-by: Owen-sz <owen@fyralabs.com> * Make debuginfo work? * do this properly * Thing * ? * Thank you ninja * Hxhshagsg * Whatever * Smhing my head * Update luamake.spec * forgor Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> * Update anda/langs/lua/luamake/luamake.spec Co-authored-by: Gilver <rockgrub@disroot.org> Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> * OOPS Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --------- Signed-off-by: Owen-sz <owen@fyralabs.com> Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "luamake.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: luamake
|
||||
Version: 1.7
|
||||
Release: 1%?dist
|
||||
License: MIT
|
||||
URL: https://github.com/actboy168/luamake
|
||||
Source: https://github.com/actboy168/luamake/archive/refs/tags/v%version.tar.gz
|
||||
Summary: A platform independent configuration and build system that uses the standard Lua command-line interpreter
|
||||
|
||||
BuildRequires: gcc-c++ make ninja-build glibc lua gcc cmake libstdc++-devel libstdc++-static libcxx libcxx-devel
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%git_clone
|
||||
sed -i 's|-O2 -Wall |%{build_cflags}|g' compile/ninja/linux.ninja
|
||||
sed -i 's|-lstdc++ |%{build_ldflags} -lstdc++ |g' compile/ninja/linux.ninja
|
||||
|
||||
%build
|
||||
%{ninja_build} -f compile/ninja/linux.ninja notest
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
ln -sf %{_datadir}/%{name}/%{name} %{buildroot}%{_bindir}/%{name}
|
||||
install -Dm755 luamake -t %{buildroot}%{_datadir}/%{name}
|
||||
install -Dm755 main.lua -t %{buildroot}%{_datadir}/%{name}
|
||||
cp -r scripts -t %{buildroot}%{_datadir}/%{name}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/luamake
|
||||
%{_datadir}/%{name}/%{name}
|
||||
%{_datadir}/%{name}/main.lua
|
||||
%{_datadir}/%{name}/scripts/
|
||||
|
||||
%changelog
|
||||
* Sun Dec 28 2025 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Initial commit
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("actboy168/luamake"));
|
||||
Reference in New Issue
Block a user