@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := etesync-server
PKG_NAME := etesync-server
PKG_VERSION := 0.3.0
PKG_VERSION := 0.3.0
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := etesync-server-$( PKG_VERSION) .tar.gz
PKG_SOURCE := etesync-server-$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://github.com/etesync/server/archive/v$( PKG_VERSION)
PKG_SOURCE_URL := https://github.com/etesync/server/archive/v$( PKG_VERSION)
@ -12,16 +12,14 @@ PKG_LICENSE:=AGPL-3.0-only
PKG_LICENSE_FILES := LICENSE
PKG_LICENSE_FILES := LICENSE
PKG_MAINTAINER := Peter Stadler <peter.stadler@student.uibk.ac.at>
PKG_MAINTAINER := Peter Stadler <peter.stadler@student.uibk.ac.at>
PKG_BUILD_PARALLEL := 1
PYTHON3_PKG_BUILD := 0
PKG_UNPACK = $( HOST_TAR) -C $( PKG_BUILD_DIR) --strip-components= 1 -xzf $( DL_DIR) /$( PKG_SOURCE)
PKG_UNPACK = $( HOST_TAR) -C $( PKG_BUILD_DIR) --strip-components= 1 -xzf $( DL_DIR) /$( PKG_SOURCE)
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e . . / . . / l a n g / p y t h o n / p y t h o n 3 - p a c k a g e . m k
i n c l u d e . . / . . / l a n g / p y t h o n / p y t h o n 3 - p a c k a g e . m k
# this allows using python3-package.mk with a non-package app (etesync-server):
d e f i n e P y 3 B u i l d / C o m p i l e
$( INSTALL_DIR) $( PKG_INSTALL_DIR) /$( PYTHON3_PKG_DIR)
e n d e f
d e f i n e P a c k a g e / e t e s y n c - s e r v e r
d e f i n e P a c k a g e / e t e s y n c - s e r v e r
SECTION:= net
SECTION:= net
@ -34,8 +32,6 @@ define Package/etesync-server
+python3-django-cors-headers +python3-django-etesync-journal \
+python3-django-cors-headers +python3-django-etesync-journal \
+uwsgi +uwsgi-python3-plugin +uwsgi-syslog-plugin
+uwsgi +uwsgi-python3-plugin +uwsgi-syslog-plugin
USERID:= etesync = 44312
USERID:= etesync = 44312
VARIANT:= python3
PROVIDES:= etesync-server
e n d e f
e n d e f
@ -44,6 +40,9 @@ define Package/etesync-server/description
e n d e f
e n d e f
Build/Compile : =:
d e f i n e P y 3 P a c k a g e / e t e s y n c - s e r v e r / i n s t a l l
d e f i n e P y 3 P a c k a g e / e t e s y n c - s e r v e r / i n s t a l l
$( INSTALL_DIR) $( 1) /www/etesync/static/
$( INSTALL_DIR) $( 1) /www/etesync/static/
@ -83,6 +82,8 @@ define Py3Package/etesync-server/install
$( INSTALL_BIN) ./files/uwsgi.init $( 1) /etc/init.d/etesync-server
$( INSTALL_BIN) ./files/uwsgi.init $( 1) /etc/init.d/etesync-server
e n d e f
e n d e f
Py3Package/etesync-server/filespec : =
d e f i n e P a c k a g e / e t e s y n c - s e r v e r / p o s t r m
d e f i n e P a c k a g e / e t e s y n c - s e r v e r / p o s t r m
#!/bin/sh
#!/bin/sh