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.

51 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:=libical
  9. PKG_VERSION:=3.0.6
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_HASH:=5c8a21c2b732ece4a33e5c862970b4f35a8548bbcda50de5695f6fc211ac4d97
  13. PKG_SOURCE_URL:=https://github.com/libical/libical/releases/download/v$(PKG_VERSION)/
  14. PKG_MAINTAINER:=Jose Zapater <jzapater@gmail.com>
  15. PKG_LICENSE:=LGPL-2.1-or-later MPL-2.0
  16. PKG_LICENSE_FILES:=COPYING
  17. CMAKE_INSTALL:=1
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/cmake.mk
  21. define Package/libical
  22. SECTION:=libs
  23. CATEGORY:=Libraries
  24. TITLE:=An implementation of iCalendar protocols and data formats
  25. URL:=http://libical.github.io/libical/
  26. DEPENDS:=+libpthread
  27. endef
  28. define Package/libical/description
  29. Libical is an Open Source implementation of the iCalendar protocols and protocol
  30. data units. The iCalendar specification describes how calendar clients can
  31. communicate with calendar servers so users can store their calendar data and
  32. arrange meetings with other users.
  33. Libical implements RFC2445, RFC2446 and some of RFC2447.
  34. endef
  35. CMAKE_OPTIONS += -DWITH_CXX_BINDINGS=false -DICAL_BUILD_DOCS=false -DICAL_GLIB=false
  36. define Package/libical/install
  37. $(INSTALL_DIR) $(1)/usr/lib
  38. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libical{,ss,vcal}.so.* $(1)/usr/lib/
  39. endef
  40. $(eval $(call BuildPackage,libical))