|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=seafile-ccnet |
|
|
|
PKG_VERSION:=7.1.2 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/haiwen/ccnet-server/tar.gz/v$(PKG_VERSION)-server? |
|
|
@ -28,7 +28,6 @@ PKG_INSTALL:=1 |
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
include $(INCLUDE_DIR)/nls.mk |
|
|
|
include ../../lang/python/python-package.mk |
|
|
|
include ../../lang/python/python3-package.mk |
|
|
|
|
|
|
|
define Package/seafile-ccnet |
|
|
@ -74,12 +73,9 @@ CONFIGURE_ARGS += \ |
|
|
|
--enable-python \
|
|
|
|
--with-mysql="$(STAGING_DIR)/usr/bin/mysql_config" |
|
|
|
|
|
|
|
# Include Python 2 bindings in this package to maintain compatibility with previous versions
|
|
|
|
define Package/seafile-ccnet/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/{lib,libexec} |
|
|
|
$(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/ccnet |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/libexec/ |
|
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/python/ccnet/*.py $(1)$(PYTHON_PKG_DIR)/ccnet/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libccnet.so* $(1)/usr/lib/ |
|
|
|
endef |
|
|
|
|
|
|
|