2 # Copyright (C) 2008-2017 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
7 include $(TOPDIR
)/rules.mk
13 PKG_SOURCE
:=Radicale-
$(PKG_VERSION
).
tar.gz
14 PKG_SOURCE_URL
:=https
://files.pythonhosted.org
/packages
/source
/R
/Radicale
15 PKG_HASH
:=c007198ea45ef797344672c681d4c13f8b4aa85c15c41a1156225767a405c92b
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/Radicale-
$(PKG_VERSION
)
21 PKG_LICENSE_FILES
:=COPYING
23 include $(INCLUDE_DIR
)/package.mk
24 include ..
/..
/lang
/python
/python3-package.mk
26 define Package
/radicale
29 SUBMENU
:=Web Servers
/Proxies
30 TITLE
:=Radicale CalDAV
/CardDAV server
31 URL
:=https
://radicale.org
/
39 USERID
:=radicale
=5232:radicale
=5232
40 PROVIDES
:=radicale-py2 radicale-py3
44 define Package
/radicale
/description
45 The Radicale Project is a CalDAV
(calendar
) and CardDAV
(contact
) server. It
46 aims to be a light solution
, easy to use
, easy to
install, easy to configure.
47 As a consequence
, it requires few software dependances and is pre-configured to
51 define Package
/radicale
/conffiles
57 define Py3Package
/radicale
/install
58 $(INSTALL_DIR
) $(1)/etc
/init.d
59 $(INSTALL_BIN
) .
/files
/radicale.init
$(1)/etc
/init.d
/radicale
61 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
62 $(INSTALL_BIN
) .
/files
/radicale.hotplug
$(1)/etc
/hotplug.d
/iface
/80-radicale
64 $(INSTALL_DIR
) $(1)/etc
/config
65 $(INSTALL_CONF
) .
/files
/radicale.config
$(1)/etc
/config
/radicale
67 $(INSTALL_DIR
) $(1)/etc
/radicale
/ssl
68 $(INSTALL_DATA
) .
/files
/config.template
$(1)/etc
/radicale
/config.template
69 $(INSTALL_DATA
) .
/files
/logging.template
$(1)/etc
/radicale
/logging.template
70 $(INSTALL_DATA
) .
/files
/radicale.users
$(1)/etc
/radicale
/users
71 $(INSTALL_DATA
) .
/files
/radicale.rights
$(1)/etc
/radicale
/rights
73 $(INSTALL_DIR
) $(1)/usr
/bin
74 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/radicale
$(1)/usr
/bin
/
77 $(eval
$(call Py3Package
,radicale
))
78 $(eval
$(call BuildPackage
,radicale
))
79 $(eval
$(call BuildPackage
,radicale-src
))