1 Commits
Author SHA256 Message Date
sisungo b75ef2adc7 feat: add package fmtlib
Signed-off-by: sisungo <[email protected]>
2026-11-09 06:00:19 +00:00
2 changed files with 28 additions and 28 deletions

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
from lib import cpp
from lib.make import *
version("12.2.1")
description("A modern formatting library")
maintainer("sisungo <[email protected]>")
source_managed("github://fmtlib/fmt#12.2.1")
builddep("shortcut/c++")
builddep("shortcut/cmake")
def build():
cpp.cmake([
f"-DCMAKE_INSTALL_PREFIX={get_prefix('fmtlib-dev')}",
"-DCMAKE_INSTALL_LIBDIR=lib",
])
cpp.ninja()
cpp.ninja_install()
on_build(build)
package("fmtlib-dev")
dep("semi-libc-dev @same-arch")
dep("libcxx-dev @same-arch")
cpp.use_auto_pack(["dev"])
-28
View File
@@ -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)