forked from semios/semios-packages
Compare commits
4
Commits
maintainers
...
cargo
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
21dedb3568 | ||
|
|
89744adb38 | ||
|
|
fc753703c4 | ||
|
|
132ed2d8b3 |
@@ -0,0 +1,33 @@
|
||||
from lib.make import *
|
||||
from lib import rust
|
||||
|
||||
|
||||
version("0.98.0")
|
||||
description("The Rust package manager")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://github.com/rust-lang/cargo/archive/refs/tags/0.98.0.tar.gz")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("cargo")
|
||||
builddep("rust")
|
||||
builddep(f"aws-lc-dev @{arch.get_target()}")
|
||||
builddep(f"pkgconf @{arch.get_target()}")
|
||||
builddep(f"libz-ng-dev @{arch.get_target()}")
|
||||
builddep(f"libcurl-dev @{arch.get_target()}")
|
||||
builddep(f"libgit2-dev @{arch.get_target()}")
|
||||
builddep(f"libssh2-dev @{arch.get_target()}")
|
||||
|
||||
|
||||
def build():
|
||||
rust.build()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("cargo")
|
||||
dep("libssl @same-arch")
|
||||
dep("libcrypto @same-arch")
|
||||
dep("libz @same-arch")
|
||||
dep("semi-libc @same-arch")
|
||||
recommend("rust")
|
||||
rust.use_auto_pack(["bin"])
|
||||
@@ -0,0 +1,30 @@
|
||||
from lib.make import *
|
||||
from lib import cpp
|
||||
|
||||
|
||||
version("3.5.2")
|
||||
description("an interactive process viewer")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://github.com/htop-dev/htop/releases/download/3.5.2/htop-3.5.2.tar.xz")
|
||||
|
||||
builddep("shortcut/autotools")
|
||||
builddep("shortcut/c")
|
||||
builddep(f"libncurses-dev @{arch.get_target()}")
|
||||
builddep(f"linux-dev @{arch.get_target()}")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.configure([
|
||||
f"--prefix={get_prefix('htop')}",
|
||||
"--enable-unicode",
|
||||
])
|
||||
cpp.make()
|
||||
cpp.make_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("htop")
|
||||
dep("libncurses @same-arch")
|
||||
dep("semi-libc @same-arch")
|
||||
cpp.use_auto_pack(["bin"])
|
||||
Reference in New Issue
Block a user