summaryrefslogtreecommitdiffstats
path: root/package/ser2net/ser2net.mk
blob: 833becc3e0a61f5ae8d8ff1cfd4ab7b0643e0afb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
################################################################################
#
# ser2net
#
################################################################################

SER2NET_VERSION = 3.4
SER2NET_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net
SER2NET_LICENSE = GPL-2.0+
SER2NET_LICENSE_FILES = COPYING

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))
OpenPOWER on IntegriCloud