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.

72 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.30
  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:=25de55d128d432d82f2a1ec010d7069a
  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-introspection \
  37. --disable-gtk-doc
  38. define Build/InstallDev
  39. $(INSTALL_DIR) $(1)/usr/include/
  40. $(CP) \
  41. $(PKG_INSTALL_DIR)/usr/include/libdmapsharing-3.0/ \
  42. $(1)/usr/include/
  43. $(INSTALL_DIR) $(1)/usr/lib/
  44. $(CP) \
  45. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  46. $(1)/usr/lib/
  47. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
  48. $(INSTALL_DATA) \
  49. $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
  50. $(1)/usr/lib/pkgconfig/
  51. endef
  52. define Package/libdmapsharing/install
  53. $(INSTALL_DIR) $(1)/usr/lib/
  54. $(CP) \
  55. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  56. $(1)/usr/lib/
  57. endef
  58. $(eval $(call BuildPackage,libdmapsharing))