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