mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: connman: Fix cross-compilation.
* gnu/packages/connman.scm (connman): Fix cross-compilation. [arguments]: Use G-Expressions. Set path to binaries at `#:configure-flags'. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
932bf7b293
commit
8760decca7
1 changed files with 25 additions and 13 deletions
|
@ -24,6 +24,7 @@ (define-module (gnu packages connman)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
|
#:use-module (guix gexp)
|
||||||
#:use-module (guix licenses)
|
#:use-module (guix licenses)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
|
@ -55,19 +56,30 @@ (define-public connman
|
||||||
(base32 "12g5ilcnymx6i45z3359yds3cgd2dfqjyncfm92hqlymzps41yvr"))))
|
(base32 "12g5ilcnymx6i45z3359yds3cgd2dfqjyncfm92hqlymzps41yvr"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
(list #:configure-flags
|
||||||
(list "--enable-nmcompat"
|
#~(list "--enable-nmcompat"
|
||||||
"--enable-polkit" ; Polkit doesn't need to be present at build time.
|
;; PolKit doesn't need to be present at build time.
|
||||||
|
"--enable-polkit"
|
||||||
"--enable-iwd"
|
"--enable-iwd"
|
||||||
|
"--enable-l2tp"
|
||||||
"--enable-openconnect"
|
"--enable-openconnect"
|
||||||
"--enable-openvpn"
|
"--enable-openvpn"
|
||||||
"--enable-vpnc"
|
"--enable-vpnc"
|
||||||
"--enable-l2tp"
|
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
(string-append
|
(string-append "--with-l2tp="
|
||||||
"--with-dbusconfdir=" (assoc-ref %outputs "out") "/etc")
|
#$(this-package-input "xl2tpd")
|
||||||
(string-append
|
"/sbin/xl2tpd")
|
||||||
"--with-dbusdatadir=" (assoc-ref %outputs "out") "/share"))))
|
(string-append "--with-openconnect="
|
||||||
|
#$(this-package-input "openconnect")
|
||||||
|
"/sbin/openconnect")
|
||||||
|
(string-append "--with-openvpn="
|
||||||
|
#$(this-package-input "openvpn")
|
||||||
|
"/sbin/openvpn")
|
||||||
|
(string-append "--with-vpnc="
|
||||||
|
#$(this-package-input "vpnc")
|
||||||
|
"/sbin/vpnc")
|
||||||
|
(string-append "--with-dbusconfdir=" #$output "/etc")
|
||||||
|
(string-append "--with-dbusdatadir=" #$output "/share"))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config
|
(list pkg-config
|
||||||
python-wrapper))
|
python-wrapper))
|
||||||
|
|
Loading…
Reference in a new issue