39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
|
# Template file for 'ModemManager'
|
||
|
pkgname=ModemManager
|
||
|
version=1.0.0
|
||
|
revision=1
|
||
|
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"
|
||
|
makedepends="glib-devel libgudev-devel polkit-devel libqmi-devel libmbim-devel systemd-devel ppp"
|
||
|
short_desc="Mobile broadband modem management service"
|
||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||
|
homepage="http://www.freedesktop.org/wiki/Software/ModemManager/"
|
||
|
license="GPL-2"
|
||
|
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
||
|
checksum=e0f3bbd9a7353f7d87be2391b8718a81d11f9ff8b1c067d640928322f8808563
|
||
|
|
||
|
ModemManager-devel_package() {
|
||
|
depends="libmm-glib-${version}_${revision}"
|
||
|
short_desc+=" - development files"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/pkgconfig
|
||
|
vmove "usr/lib/*.so"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
libmm-glib_package() {
|
||
|
short_desc+=" - GLib library"
|
||
|
pkg_install() {
|
||
|
vmove "usr/lib/libmm-glib.so.*"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
ModemManager_package() {
|
||
|
depends="hicolor-icon-theme ppp"
|
||
|
pkg_install() {
|
||
|
vmove all
|
||
|
}
|
||
|
}
|