@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := seafile-server
PKG_VERSION := 7.1.3
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://codeload.github.com/haiwen/seafile-server/tar.gz/v$( PKG_VERSION) -server?
@ -25,6 +25,7 @@ PKG_BUILD_DEPENDS:=vala/host libevhtp
PKG_FIXUP := autoreconf
PKG_BUILD_PARALLEL := 1
PKG_INSTALL := 1
PYTHON3_PKG_BUILD := 0
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 ) / n l s . m k
@ -111,7 +112,6 @@ define Package/python3-seafile-server
SUBMENU:= Python
TITLE:= Python bindings for Seafile server
DEPENDS:= +python3-light +python3-logging +python3-searpc +python3-seafile-ccnet
VARIANT:= python3
e n d e f
d e f i n e P a c k a g e / p y t h o n 3 - s e a f i l e - s e r v e r / d e s c r i p t i o n
@ -126,10 +126,8 @@ CONFIGURE_ARGS += \
--enable-python \
--with-mysql= " $( STAGING_DIR) /usr/bin/mysql_config "
# This is required as python3-package.mk overrides the default setting of having interlinking enabled
i f d e f C O N F I G _ U S E _ M I P S 1 6
TARGET_CFLAGS += -minterlink-mips16
e n d i f
CONFIGURE_VARS += \
PYTHON = " $( HOST_PYTHON3_BIN) "
i f d e f C O N F I G _ G C C _ L I B S S P
TARGET_LDFLAGS += -lssp
@ -199,13 +197,6 @@ define Build/InstallDev
$( INSTALL_DATA) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/libseafile.pc $( 1) /usr/lib/pkgconfig/
e n d e f
d e f i n e P y 3 B u i l d / C o m p i l e
rm -rf $( PKG_INSTALL_DIR) $( PYTHON3_PKG_DIR) /{ seafile,seaserv}
$( INSTALL_DIR) $( PKG_INSTALL_DIR) $( PYTHON3_PKG_DIR) /{ seafile,seaserv}
$( INSTALL_DATA) $( PKG_BUILD_DIR) /python/seafile/*.py $( PKG_INSTALL_DIR) $( PYTHON3_PKG_DIR) /seafile/
$( INSTALL_DATA) $( PKG_BUILD_DIR) /python/seaserv/*.py $( PKG_INSTALL_DIR) $( PYTHON3_PKG_DIR) /seaserv/
e n d e f
d e f i n e P a c k a g e / s e a f i l e - s e r v e r - f u s e / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/{ bin,libexec}
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/seaf-fuse $( 1) /usr/libexec/