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.

68 lines
1.5 KiB

  1. #
  2. # Copyright (C) 2009-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=grilo
  9. PKG_VERSION:=0.2.14
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  12. PKG_LICENSE:=LGPLv2.1
  13. PKG_LICENSE_FILES:=COPYING
  14. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  15. PKG_SOURCE_URL:=@GNOME/grilo/0.2/
  16. PKG_MD5SUM:=7eba405ada20fefcb877d534d9d4f
  17. PKG_BUILD_DEPENDS:=glib2 libsoup libxml2
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/nls.mk
  21. TARGET_LDFLAGS+= \
  22. -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
  23. define Package/grilo
  24. SECTION:=multimedia
  25. CATEGORY:=Multimedia
  26. TITLE:=grilo
  27. URL:=https://wiki.gnome.org/Projects/Grilo
  28. DEPENDS:=+glib2 +libsoup +libxml2
  29. endef
  30. define Package/grilo/decription
  31. Grilo is a framework that provides access to different sources of
  32. multimedia content, using a pluggable system.
  33. endef
  34. define Build/InstallDev
  35. $(INSTALL_DIR) $(1)/usr/include/
  36. $(CP) \
  37. $(PKG_INSTALL_DIR)/usr/include/grilo-0.2/ \
  38. $(1)/usr/include/
  39. $(INSTALL_DIR) $(1)/usr/lib/
  40. $(CP) \
  41. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  42. $(1)/usr/lib/
  43. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
  44. $(INSTALL_DATA) \
  45. $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
  46. $(1)/usr/lib/pkgconfig/
  47. endef
  48. define Package/grilo/install
  49. $(INSTALL_DIR) $(1)/usr/lib/
  50. $(CP) \
  51. $(PKG_INSTALL_DIR)/usr/lib/*.so* \
  52. $(1)/usr/lib/
  53. endef
  54. $(eval $(call BuildPackage,grilo))