1 parent
7ae32e99e0
commit
b75ef2adc7
1 file changed
+28
@@ -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"])
|
||||
Reference in new issue
Block a user