mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
16
package/znc/Config.in
Normal file
16
package/znc/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
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
|
||||
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
|
||||
3
package/znc/znc.hash
Normal file
3
package/znc/znc.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 b1a32921a8e6d79ee6c5900c8d07293026966db7c05aaac48984231befc49b71 znc-1.7.4.tar.gz
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
||||
43
package/znc/znc.mk
Normal file
43
package/znc/znc.mk
Normal file
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
#
|
||||
# znc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ZNC_VERSION = 1.7.4
|
||||
ZNC_SITE = http://znc.in/releases/archive
|
||||
ZNC_LICENSE = Apache-2.0
|
||||
ZNC_LICENSE_FILES = LICENSE
|
||||
ZNC_DEPENDENCIES = host-pkgconf
|
||||
ZNC_CONF_OPTS = --disable-perl
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ICU),y)
|
||||
ZNC_DEPENDENCIES += icu
|
||||
ZNC_CONF_OPTS += --enable-charset
|
||||
else
|
||||
ZNC_CONF_OPTS += --disable-charset
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
ZNC_DEPENDENCIES += openssl
|
||||
ZNC_CONF_OPTS += --enable-openssl
|
||||
else
|
||||
ZNC_CONF_OPTS += --disable-openssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
ZNC_DEPENDENCIES += zlib
|
||||
ZNC_CONF_OPTS += --enable-zlib
|
||||
else
|
||||
ZNC_CONF_OPTS += --disable-zlib
|
||||
endif
|
||||
|
||||
# python support depends on icu
|
||||
ifeq ($(BR2_PACKAGE_ICU)$(BR2_PACKAGE_PYTHON3),yy)
|
||||
ZNC_DEPENDENCIES += python3 host-swig
|
||||
ZNC_CONF_OPTS += --enable-python=python3
|
||||
else
|
||||
ZNC_CONF_OPTS += --disable-python
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user