1 Commits
Author SHA256 Message Date
sisungo 6841a2075f feat: add package dhcpcd
Signed-off-by: sisungo <[email protected]>
2026-12-06 06:35:05 +00:00
3 changed files with 29 additions and 25 deletions

No files matched your search

+1 -3
View File
@@ -45,9 +45,7 @@ def _autopack_filter_lib(ent) -> bool:
def _autopack_filter_bin(ent) -> bool:
is_executable_file = os.access(ent.path, os.X_OK) and ent.is_file(follow_symlinks=False)
is_not_dylib = not (ent.path.endswith(".so") or ent.path.endswith(".dll") or ent.path.endswith(".dylib"))
return is_executable_file and is_not_dylib
return os.access(ent.path, os.X_OK) and ent.is_file(follow_symlinks=False)
def _auto_pack(profiles: list[str], pc: pkgcomposer.PkgComposer):
+28
View File
@@ -0,0 +1,28 @@
from lib.make import *
from lib import cpp
version("10.5.3")
description("DHCP / IPv4LL / IPv6RA / DHCPv6 client")
maintainer("sisungo <[email protected]>")
source_managed("github://NetworkConfiguration/dhcpcd#v10.5.3")
builddep("shortcut/c")
builddep("shortcut/autotools")
def build():
cpp.configure([
f"--prefix={get_prefix('dhcpcd')}",
"--sysconfdir=/var/config",
"--dbdir=/var/lib/dhcpcd",
])
cpp.make()
cpp.make_install()
on_build(build)
package("dhcpcd")
dep("semi-libc @same-arch")
cpp.use_auto_pack(["bin"])
-22
View File
@@ -1,22 +0,0 @@
from lib import rust
from lib.make import *
version("3.0.0")
description("A Modern Linker in Rust")
maintainer("sisungo <[email protected]>")
source_managed("github://rui314/mold#v3.0.0", "rust")
builddep("shortcut/rust")
def build():
rust.build()
on_build(build)
package("mold")
dep("semi-libc @same-arch")
dep("libunwind @same-arch")
rust.use_auto_pack(["bin"])