mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 21:45:19 +08:00
31 lines
745 B
Bash
31 lines
745 B
Bash
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
|
|
|
pkgname=libmbim
|
|
pkgver=1.12.2
|
|
pkgrel=1
|
|
pkgdesc="MBIM modem protocol helper library"
|
|
arch=(i686 x86_64)
|
|
url="http://www.freedesktop.org/wiki/Software/libmbim/"
|
|
license=(GPL2)
|
|
depends=(glib2 bash systemd libgudev)
|
|
makedepends=(python)
|
|
source=(http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz)
|
|
sha256sums=('949351d3e3d69b81e40a49f1d187944c26149e0647a415f0227ccdc112047b29')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
|
--libexecdir=/usr/lib/$pkgname --disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|