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
14 PKG_HASH
:=5b311b11f15db21a6000391eb3000ffc88ea8d7abbc91767dc54b771885be777
18 PKG_LICENSE_FILES
:=COPYING
19 PKG_CPE_ID
:=cpe
:/a
:radicale
:radicale
21 include ..
/..
/lang
/python
/pypi.mk
22 include $(INCLUDE_DIR
)/package.mk
23 include ..
/..
/lang
/python
/python3-package.mk
25 define Package
/radicale
28 SUBMENU
:=Web Servers
/Proxies
29 TITLE
:=Radicale CalDAV
/CardDAV server
30 URL
:=https
://radicale.org
/
38 USERID
:=radicale
=5232:radicale
=5232
39 PROVIDES
:=radicale-py2 radicale-py3
42 define Package
/radicale
/description
43 The Radicale Project is a CalDAV
(calendar
) and CardDAV
(contact
) server. It
44 aims to be a light solution
, easy to use
, easy to
install, easy to configure.
45 As a consequence
, it requires few software dependances and is pre-configured to
49 define Package
/radicale
/conffiles
55 define Py3Package
/radicale
/install
56 $(INSTALL_DIR
) $(1)/etc
/init.d
57 $(INSTALL_BIN
) .
/files
/radicale.init
$(1)/etc
/init.d
/radicale
59 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
60 $(INSTALL_BIN
) .
/files
/radicale.hotplug
$(1)/etc
/hotplug.d
/iface
/80-radicale
62 $(INSTALL_DIR
) $(1)/etc
/config
63 $(INSTALL_CONF
) .
/files
/radicale.config
$(1)/etc
/config
/radicale
65 $(INSTALL_DIR
) $(1)/etc
/radicale
/ssl
66 $(INSTALL_DATA
) .
/files
/config.template
$(1)/etc
/radicale
/config.template
67 $(INSTALL_DATA
) .
/files
/logging.template
$(1)/etc
/radicale
/logging.template
68 $(INSTALL_DATA
) .
/files
/radicale.users
$(1)/etc
/radicale
/users
69 $(INSTALL_DATA
) .
/files
/radicale.rights
$(1)/etc
/radicale
/rights
71 $(INSTALL_DIR
) $(1)/usr
/bin
72 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/radicale
$(1)/usr
/bin
/
75 $(eval
$(call Py3Package
,radicale
))
76 $(eval
$(call BuildPackage
,radicale
))
77 $(eval
$(call BuildPackage
,radicale-src
))