caff6dc481
The 4.x version now needs gensio and libyaml: https://sourceforge.net/p/ser2net/news/2019/05/ser2net-40-gensio-10-released/ Signed-off-by: James Hilliard <james.hilliard1@gmail.com> [Peter: extend commit message, add 4.x release notes] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
25 lines
656 B
Makefile
25 lines
656 B
Makefile
################################################################################
|
|
#
|
|
# ser2net
|
|
#
|
|
################################################################################
|
|
|
|
SER2NET_VERSION = 4.1.1
|
|
SER2NET_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net
|
|
SER2NET_LICENSE = GPL-2.0+
|
|
SER2NET_LICENSE_FILES = COPYING
|
|
SER2NET_DEPENDENCIES = gensio libyaml
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
SER2NET_CONF_OPTS += --with-pthreads
|
|
else
|
|
SER2NET_CONF_OPTS += --without-pthreads
|
|
endif
|
|
|
|
define SER2NET_INSTALL_INIT_SYSV
|
|
$(INSTALL) -D -m 755 package/ser2net/S50ser2net \
|
|
$(TARGET_DIR)/etc/init.d/S50ser2net
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|