fix: modemmanager mp-check unknown directory errors
This commit is contained in:
parent
f0bbaa7439
commit
0cd7c40709
@ -1,13 +1,22 @@
|
|||||||
NAME="modemmanager"
|
NAME="modemmanager"
|
||||||
DESC="Unified high level API for communicating with mobile broadband modems, regardless of the protocol used to communicate with the actual device"
|
DESC="Unified high level API for communicating with mobile broadband modems, regardless of the protocol used to communicate with the actual device"
|
||||||
VERSION="1.18.12"
|
VERSION="1.18.12"
|
||||||
FILES=("https://www.freedesktop.org/software/ModemManager/ModemManager-$VERSION.tar.xz")
|
|
||||||
|
FILES=("https://www.freedesktop.org/software/ModemManager/ModemManager-${VERSION}.tar.xz")
|
||||||
HASHES=("9f014dfc59f1bd8bc230bb2c2974d104")
|
HASHES=("9f014dfc59f1bd8bc230bb2c2974d104")
|
||||||
DEPENDS=("libgudev" "gobject-introspection" "libmbim" "libqmi")
|
|
||||||
|
DEPENDS=(
|
||||||
|
"glib" "libgudev" "libmbim"
|
||||||
|
"libqmi" "polkit" "systemd"
|
||||||
|
)
|
||||||
|
BUILD=(
|
||||||
|
"gtk-doc" "meson" "vala"
|
||||||
|
"gobject-introspection"
|
||||||
|
)
|
||||||
|
|
||||||
PACKAGE() {
|
PACKAGE() {
|
||||||
tar xf ModemManager-$VERSION.tar.xz
|
tar xf "ModemManager-${VERSION}.tar.xz"
|
||||||
cd ModemManager-$VERSION
|
cd "ModemManager-${VERSION}"
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
@ -15,8 +24,13 @@ PACKAGE() {
|
|||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-maintainer-mode \
|
--disable-maintainer-mode \
|
||||||
--with-systemd-journal \
|
--with-systemd-journal \
|
||||||
--with-systemd-suspend-resume
|
--with-systemd-suspend-resum
|
||||||
make && make DESTDIR="$ROOTDIR" install
|
make
|
||||||
|
make DESTDIR="${ROOTDIR}" install
|
||||||
|
|
||||||
cd .. && rm -r ModemManager-$VERSION
|
# remove the /lib directory
|
||||||
|
mv "${ROOTDIR}/lib/udev" "${ROOTDIR}/usr/lib"
|
||||||
|
rm -r "${ROOTDIR}/lib"
|
||||||
|
|
||||||
|
cd .. && rm -r "ModemManager-${VERSION}"
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
|
# 20.11.1
|
||||||
|
Updated to a newer upstream release
|
||||||
|
|
||||||
# 18.17.1
|
# 18.17.1
|
||||||
First version
|
First version
|
||||||
|
@ -23,7 +23,8 @@ PACKAGE() {
|
|||||||
--shared-nghttp2 \
|
--shared-nghttp2 \
|
||||||
--shared-zlib \
|
--shared-zlib \
|
||||||
--with-intl=system-icu
|
--with-intl=system-icu
|
||||||
make && make DESTDIR="${ROOTDIR}" install
|
make
|
||||||
|
make DESTDIR="${ROOTDIR}" install
|
||||||
ln -sf node "${ROOTDIR}/usr/share/doc/node-${VERSION}"
|
ln -sf node "${ROOTDIR}/usr/share/doc/node-${VERSION}"
|
||||||
|
|
||||||
cd .. && rm -r "node-v${VERSION}"
|
cd .. && rm -r "node-v${VERSION}"
|
||||||
|
Loading…
Reference in New Issue
Block a user