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) 2009-2012 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. # This Makefile is a skeleton
  8. #
  9. include $(TOPDIR)/rules.mk
  10. PKG_NAME:=libdmapsharing
  11. PKG_VERSION:=3.9.10
  12. PKG_RELEASE:=1
  13. PKG_SOURCE:=libdmapsharing-$(PKG_VERSION).tar.gz
  14. PKG_SOURCE_URL:=https://www.flyn.org/projects/libdmapsharing/
  15. PKG_HASH:=e216425d61a109f08f0ac93065f4603d1e61ebd85c09802c03a9ecce5bb35094
  16. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  17. PKG_LICENSE:=LGPL-2.1-or-later
  18. PKG_LICENSE_FILES:=COPYING
  19. PKG_FIXUP:=autoreconf
  20. PKG_INSTALL:=1
  21. PKG_BUILD_PARALLEL:=1
  22. PKG_BUILD_DEPENDS:=glib2/host
  23. include $(INCLUDE_DIR)/package.mk
  24. include $(INCLUDE_DIR)/nls.mk
  25. define Package/libdmapsharing
  26. SECTION:=libs
  27. CATEGORY:=Libraries
  28. DEPENDS:=+libsoup +mdnsresponder +gstreamer1-plugins-base +gst1-mod-app
  29. TITLE:=libdmapsharing
  30. URL:=https://www.flyn.org/projects/libdmapsharing/
  31. endef
  32. define Package/libdmapsharing/decription
  33. Libdmapsharing is a DMAP library implementation in C
  34. endef
  35. CONFIGURE_ARGS += \
  36. --disable-tests \
  37. --disable-gtk-doc \
  38. --disable-introspection
  39. define Build/InstallDev
  40. $(INSTALL_DIR) $(1)/usr/include/
  41. $(CP) \
  42. $(PKG_INSTALL_DIR)/usr/include/libdmapsharing-4.0/ \
  43. $(1)/usr/include/
  44. $(INSTALL_DIR) $(1)/usr/lib/
  45. $(CP) \
  46. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  47. $(1)/usr/lib/
  48. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
  49. $(INSTALL_DATA) \
  50. $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
  51. $(1)/usr/lib/pkgconfig/
  52. endef
  53. define Package/libdmapsharing/install
  54. $(INSTALL_DIR) $(1)/usr/lib/
  55. $(CP) \
  56. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  57. $(1)/usr/lib/
  58. endef
  59. $(eval $(call BuildPackage,libdmapsharing))