initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_ZNC
|
||||
bool "znc"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL
|
||||
help
|
||||
Advanced IRC bouncer
|
||||
|
||||
http://www.znc.in
|
||||
|
||||
comment "znc needs a toolchain w/ C++, dynamic library, gcc >= 4.8, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 ff238aae3f2ae0e44e683c4aee17dc8e4fdd261ca9379d83b48a7d422488de0d znc-1.8.2.tar.gz
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
||||
@@ -0,0 +1,49 @@
|
||||
################################################################################
|
||||
#
|
||||
# znc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ZNC_VERSION = 1.8.2
|
||||
ZNC_SITE = http://znc.in/releases/archive
|
||||
ZNC_LICENSE = Apache-2.0
|
||||
ZNC_LICENSE_FILES = LICENSE
|
||||
ZNC_CPE_ID_VENDOR = znc
|
||||
ZNC_DEPENDENCIES = host-pkgconf
|
||||
ZNC_CONF_OPTS = -DWANT_CYRUS=OFF -DWANT_I18N=OFF -DWANT_PERL=OFF
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ICU),y)
|
||||
ZNC_DEPENDENCIES += icu
|
||||
ZNC_CONF_OPTS += -DWANT_ICU=ON
|
||||
else
|
||||
ZNC_CONF_OPTS += -DWANT_ICU=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
ZNC_DEPENDENCIES += openssl
|
||||
ZNC_CONF_OPTS += -DWANT_OPENSSL=ON
|
||||
else
|
||||
ZNC_CONF_OPTS += -DWANT_OPENSSL=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
ZNC_DEPENDENCIES += zlib
|
||||
ZNC_CONF_OPTS += -DWANT_ZLIB=ON
|
||||
else
|
||||
ZNC_CONF_OPTS += -DWANT_ZLIB=OFF
|
||||
endif
|
||||
|
||||
# python support depends on icu
|
||||
ifeq ($(BR2_PACKAGE_ICU)$(BR2_PACKAGE_PYTHON3),yy)
|
||||
ZNC_DEPENDENCIES += python3 host-swig
|
||||
ZNC_CONF_OPTS += \
|
||||
-DWANT_PYTHON=ON \
|
||||
-DWANT_PYTHON_VERSION=python3 \
|
||||
-DWANT_SWIG=ON
|
||||
else
|
||||
ZNC_CONF_OPTS += \
|
||||
-DWANT_PYTHON=OFF \
|
||||
-DWANT_SWIG=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user