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:
35
package/babeld/babeld.mk
Normal file
35
package/babeld/babeld.mk
Normal file
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
#
|
||||
# babeld
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BABELD_VERSION = 1.8.4
|
||||
BABELD_SITE = http://www.pps.univ-paris-diderot.fr/~jch/software/files
|
||||
BABELD_LICENSE = MIT
|
||||
BABELD_LICENSE_FILES = LICENCE
|
||||
|
||||
define BABELD_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
|
||||
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))
|
||||
Reference in New Issue
Block a user