2013-07-20 03:27:37 +00:00
|
|
|
# Template file for 'libqmi'
|
|
|
|
pkgname=libqmi
|
|
|
|
version=1.4.0
|
2014-06-22 06:11:36 +00:00
|
|
|
revision=2
|
2013-07-20 03:27:37 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
|
|
|
hostmakedepends="pkg-config python glib-devel"
|
|
|
|
makedepends="libglib-devel"
|
|
|
|
short_desc="QMI modem protocol helper library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/libqmi/"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
|
|
|
checksum=812515c36fd77c5f7eb9d52804e9666c4341e8c7dd3d932ca1e607b467831af3
|
|
|
|
|
2014-02-19 09:04:52 +00:00
|
|
|
pre_configure() {
|
|
|
|
sed -e 's,-Werror,,g' -i configure
|
|
|
|
}
|
|
|
|
|
2013-07-20 03:27:37 +00:00
|
|
|
libqmi-devel_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|