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.

50 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.9
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_HASH:=bd26d98b7fcb2eb0cd5461747bbb02024ebe38e293ca53a7dfdcb2505265a728
  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. include $(INCLUDE_DIR)/package.mk
  19. include $(INCLUDE_DIR)/cmake.mk
  20. define Package/libical
  21. SECTION:=libs
  22. CATEGORY:=Libraries
  23. TITLE:=An implementation of iCalendar protocols and data formats
  24. URL:=http://libical.github.io/libical/
  25. DEPENDS:=+libpthread
  26. endef
  27. define Package/libical/description
  28. Libical is an Open Source implementation of the iCalendar protocols and protocol
  29. data units. The iCalendar specification describes how calendar clients can
  30. communicate with calendar servers so users can store their calendar data and
  31. arrange meetings with other users.
  32. Libical implements RFC2445, RFC2446 and some of RFC2447.
  33. endef
  34. CMAKE_OPTIONS += -DWITH_CXX_BINDINGS=false -DICAL_BUILD_DOCS=false -DICAL_GLIB=false
  35. define Package/libical/install
  36. $(INSTALL_DIR) $(1)/usr/lib
  37. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libical{,ss,vcal}.so.* $(1)/usr/lib/
  38. endef
  39. $(eval $(call BuildPackage,libical))