You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.7 KiB

  1. #
  2. # Copyright (C) 2016 Velocloud Inc.
  3. # Copyright (C) 2016 Aleksander Morgado <aleksander@aleksander.es>
  4. #
  5. # This is free software, licensed under the GNU General Public License v2.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=libqrtr-glib
  9. PKG_VERSION:=1.0.0
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=https://www.freedesktop.org/software/libqmi/
  13. PKG_HASH:=30d879b2ade6f8f461def3a677755db5c0238babf688d5c83c03b3e6abe35cee
  14. PKG_MAINTAINER:=Nicholas Smith <nicholas.smith@telcoantennas.com.au>
  15. PKG_INSTALL:=1
  16. PKG_BUILD_PARALLEL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. include $(INCLUDE_DIR)/nls.mk
  19. define Package/libqrtr-glib
  20. SECTION:=libs
  21. CATEGORY:=Libraries
  22. DEPENDS:=+glib2
  23. TITLE:=Helper library to talk to QRTR enabled modems
  24. URL:=https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib
  25. LICENSE:=LGPL-2.0-or-later
  26. LICENSE_FILES:=COPYING.LIB
  27. endef
  28. define Package/libqrtr-glib/description
  29. Helper library talk to QRTR enabled modems.
  30. endef
  31. CONFIGURE_ARGS += \
  32. --disable-static \
  33. --disable-gtk-doc \
  34. --disable-gtk-doc-html \
  35. --disable-gtk-doc-pdf \
  36. --disable-silent-rules
  37. define Build/InstallDev
  38. $(INSTALL_DIR) $(1)/usr/include
  39. $(CP) \
  40. $(PKG_INSTALL_DIR)/usr/include/libqrtr-glib \
  41. $(1)/usr/include/
  42. $(INSTALL_DIR) $(1)/usr/lib
  43. $(CP) \
  44. $(PKG_INSTALL_DIR)/usr/lib/libqrtr-glib*.so* \
  45. $(1)/usr/lib/
  46. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  47. $(CP) \
  48. $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/qrtr-glib.pc \
  49. $(1)/usr/lib/pkgconfig
  50. endef
  51. define Package/libqrtr-glib/install
  52. $(INSTALL_DIR) $(1)/usr/lib
  53. $(CP) \
  54. $(PKG_INSTALL_DIR)/usr/lib/libqrtr-glib*.so.* \
  55. $(1)/usr/lib/
  56. endef
  57. $(eval $(call BuildPackage,libqrtr-glib))