From 1d0ec657754e9d3bc13d1589c8ecc29d81c9edd8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 20 Jul 2013 05:27:37 +0200 Subject: [PATCH] New package: libqmi-1.4.0. --- common/shlibs | 1 + srcpkgs/libqmi-devel | 1 + srcpkgs/libqmi/template | 31 +++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 120000 srcpkgs/libqmi-devel create mode 100644 srcpkgs/libqmi/template diff --git a/common/shlibs b/common/shlibs index d13afb549db..4951e2c9bf9 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1355,3 +1355,4 @@ libotr3.so.2 libotr3-3.2.1_1 libotr.so.5 libotr-4.0.0_1 liballeg.so.4.4 allegro4-4.4.2_1 libraw1394.so.11 libraw1394-2.1.0_1 +libqmi-glib.so.0 libqmi-1.4.0_1 diff --git a/srcpkgs/libqmi-devel b/srcpkgs/libqmi-devel new file mode 120000 index 00000000000..8699b605046 --- /dev/null +++ b/srcpkgs/libqmi-devel @@ -0,0 +1 @@ +libqmi \ No newline at end of file diff --git a/srcpkgs/libqmi/template b/srcpkgs/libqmi/template new file mode 100644 index 00000000000..fca4a55eea8 --- /dev/null +++ b/srcpkgs/libqmi/template @@ -0,0 +1,31 @@ +# Template file for 'libqmi' +pkgname=libqmi +version=1.4.0 +revision=1 +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 " +homepage="http://www.freedesktop.org/wiki/Software/libqmi/" +license="GPL-2" +distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz" +checksum=812515c36fd77c5f7eb9d52804e9666c4341e8c7dd3d932ca1e607b467831af3 + +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 + } +} + +libqmi_package() { + pkg_install() { + vmove usr + } +}