ModemManager: added systemd build option.
This commit is contained in:
parent
5d682c715e
commit
5d5cf4d06f
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'ModemManager'
|
||||
pkgname=ModemManager
|
||||
version=1.0.0
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --sbindir=/usr/bin --with-udev-base-dir=/usr/lib/udev --with-polkit=permissive"
|
||||
hostmakedepends="pkg-config intltool glib-devel"
|
||||
makedepends="glib-devel libgudev-devel polkit-devel libqmi-devel libmbim-devel systemd-devel ppp"
|
||||
makedepends="glib-devel libgudev-devel polkit-devel libqmi-devel libmbim-devel ppp"
|
||||
depends="hicolor-icon-theme ppp"
|
||||
systemd_services="${pkgname}.service on"
|
||||
short_desc="Mobile broadband modem management service"
|
||||
|
@ -15,6 +15,12 @@ license="GPL-2"
|
|||
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
||||
checksum=e0f3bbd9a7353f7d87be2391b8718a81d11f9ff8b1c067d640928322f8808563
|
||||
|
||||
build_options="systemd"
|
||||
if [ "$build_option_systemd" ]; then
|
||||
configure_args+=" --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
||||
makedepends+=" systemd-devel"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
sed -e 's,-Werror,,g' -i configure
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue