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.

73 lines
1.6 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:=2.9.38
  12. PKG_RELEASE:=1
  13. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  14. PKG_LICENSE:=LGPLv2.1
  15. PKG_LICENSE_FILES:=COPYING
  16. PKG_SOURCE:=libdmapsharing-$(PKG_VERSION).tar.gz
  17. PKG_SOURCE_URL:=http://www.flyn.org/projects/libdmapsharing/
  18. PKG_MD5SUM:=2494161340c4c3c36907359eeddc4da3
  19. PKG_FIXUP:=autoreconf
  20. PKG_INSTALL:=1
  21. include $(INCLUDE_DIR)/package.mk
  22. include $(INCLUDE_DIR)/nls.mk
  23. TARGET_LDFLAGS+= \
  24. -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
  25. define Package/libdmapsharing
  26. SECTION:=libs
  27. CATEGORY:=Libraries
  28. DEPENDS:=+libsoup +mdnsresponder +gstreamer1 +gst1-plugins-base +libgst1app
  29. TITLE:=libdmapsharing
  30. URL:=http://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-check \
  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-3.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))