Compare commits

...
1 Commits
Author SHA1 Message Date
sisungo 2b73f626a1 feat: add package rhash
Signed-off-by: sisungo <[email protected]>
2026-07-03 11:09:53 +08:00
+33
View File
@@ -0,0 +1,33 @@
from lib import cpp
from lib.make import *
version("1.4.6")
source_url("https://github.com/rhash/RHash/archive/refs/tags/v1.4.6.tar.gz")
def build():
cpp.configure(
[
"--prefix=/",
f"--bindir={get_prefix('rhash-tools')}/bin",
f"--libdir={get_prefix('librhash')}/lib",
"--disable-gettext",
]
)
cpp.make()
cpp.make_install()
on_build(build)
package("librhash")
dep("semi-libc @same-arch")
cpp.use_auto_pack(["lib"])
package("rhash-tools")
dep("librhash (same)")
cpp.use_auto_pack(["bin"])
package("librhash-dev")
dep("librhash (same)")
cpp.use_auto_pack(["dev"])