2016-07-02 00:06:11 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# babeld
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-04-13 21:45:47 +02:00
|
|
|
BABELD_VERSION = 1.8.4
|
2016-07-02 00:06:11 +02:00
|
|
|
BABELD_SITE = http://www.pps.univ-paris-diderot.fr/~jch/software/files
|
2017-02-07 09:41:58 +01:00
|
|
|
BABELD_LICENSE = MIT
|
|
|
|
BABELD_LICENSE_FILES = LICENCE
|
2016-07-02 00:06:11 +02:00
|
|
|
|
|
|
|
define BABELD_BUILD_CMDS
|
2016-07-03 21:25:50 +02:00
|
|
|
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
|
2016-07-02 00:06:11 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define BABELD_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D -m 755 $(@D)/babeld $(TARGET_DIR)/usr/sbin/babeld
|
|
|
|
endef
|
|
|
|
|
|
|
|
define BABELD_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -D -m 755 package/babeld/S50babeld \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S50babeld
|
|
|
|
endef
|
|
|
|
|
|
|
|
define BABELD_INSTALL_INIT_SYSTEMD
|
|
|
|
$(INSTALL) -D -m 644 package/babeld/babeld.service \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/babeld.service
|
|
|
|
|
|
|
|
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
|
|
|
|
|
|
|
ln -fs ../../../../usr/lib/systemd/system/babeld.service \
|
|
|
|
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/babeld.service
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|