mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-28 23:58:42 +08:00
41 lines
890 B
TOML
41 lines
890 B
TOML
#TODO: needs libmodule-build-parse-yapp-perl dependency
|
|
[source]
|
|
git = "https://gitlab.redox-os.org/redox-os/samba.git"
|
|
upstream = "https://github.com/samba-team/samba.git"
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"gnutls3",
|
|
"libarchive",
|
|
"libnettle",
|
|
"jansson",
|
|
"zlib",
|
|
]
|
|
script = """
|
|
rsync -av --delete --exclude .git "${COOKBOOK_SOURCE}/" ./
|
|
cp -v "${COOKBOOK_RECIPE}/answers.txt" answers.txt
|
|
|
|
COOKBOOK_CONFIGURE_FLAGS=(
|
|
--builtin-libraries=ALL
|
|
--cross-compile
|
|
--cross-answers=answers.txt
|
|
--disable-python
|
|
--disable-rpath
|
|
--enable-fhs
|
|
--host="${TARGET}"
|
|
--localstatedir=/var
|
|
--prefix=/usr
|
|
--sysconfdir=/etc
|
|
--with-static-modules=ALL,!vfs_snapper
|
|
--without-acl-support
|
|
--without-ad-dc
|
|
--without-ads
|
|
--without-gettext
|
|
--without-ldap
|
|
--without-libunwind
|
|
--without-pam
|
|
)
|
|
cookbook_configure
|
|
"""
|