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.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:=2.9.28
  12. PKG_RELEASE:=1
  13. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  14. PKG_LICENSE=LGPLv2.1
  15. PKG_LICENSE_FILE=COPYING
  16. PKG_BUILD_DIR:=$(BUILD_DIR)/libdmapsharing-$(PKG_VERSION)
  17. PKG_SOURCE:=libdmapsharing-$(PKG_VERSION).tar.gz
  18. PKG_SOURCE_URL:=http://www.flyn.org/projects/libdmapsharing/
  19. PKG_MD5SUM:=a530bee446040f6e6664a38212f16f60
  20. PKG_FIXUP:=autoreconf
  21. PKG_INSTALL:=1
  22. include $(INCLUDE_DIR)/package.mk
  23. include $(INCLUDE_DIR)/nls.mk
  24. TARGET_LDFLAGS+= \
  25. -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
  26. define Package/libdmapsharing
  27. SECTION:=libs
  28. CATEGORY:=Libraries
  29. DEPENDS:=+libsoup +mdnsresponder +gstreamer1 +gst1-plugins-base +libgst1app
  30. TITLE:=libdmapsharing
  31. URL:=http://www.flyn.org/projects/libdmapsharing/
  32. endef
  33. define Package/libdmapsharing/decription
  34. Libdmapsharing is a DMAP library implementation in C
  35. endef
  36. CONFIGURE_ARGS += \
  37. --disable-introspection \
  38. --disable-gtk-doc
  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))