Initial Commit
- initial default booting image
This commit is contained in:
12
package/daemon/Config.in
Normal file
12
package/daemon/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_DAEMON
|
||||
bool "daemon"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
Daemon turns other process into daemons.
|
||||
|
||||
http://www.libslack.org/daemon/
|
||||
|
||||
comment "daemon needs a toolchain w/ threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
9
package/daemon/daemon.hash
Normal file
9
package/daemon/daemon.hash
Normal file
@@ -0,0 +1,9 @@
|
||||
# From http://www.libslack.org/daemon/
|
||||
sha256 fa28859ad341cb0a0b012c11c271814f870482013b49f710600321d379887cd1 daemon-0.8.4.tar.gz
|
||||
# Locally calculated
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE
|
||||
sha256 34c8c7085e4d3920bfb8143b910d4f99194b9fc3e1cc3442c9b1b46db4382891 COPYING
|
||||
sha256 8587dc1ea896f33b657d9e57bd3bf03f0c11ce07d041f09e687f87e7a0087b38 LICENSES/LicenseRef-BSD-3-Clause-Almost.txt
|
||||
sha256 aaf135472f81c5b4a0dca9367e5bb5e9750032b5bebe5442b36e4c0a47430df3 LICENSES/GPL-2.0-or-later.txt
|
||||
sha256 61778e80a2fd85955b626b29aa2bcf06144c714277bded65633e4a81479d9fb3 LICENSES/LGPL-2.0-or-later.txt
|
||||
sha256 1aa57d2704f6783460f2750a9f3217d083ed5161eb95438ca43a5674213a7128 LICENSES/LicenseRef-Tatu-Ylonen-Permissive.txt
|
||||
31
package/daemon/daemon.mk
Normal file
31
package/daemon/daemon.mk
Normal file
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
#
|
||||
# daemon
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DAEMON_VERSION = 0.8.4
|
||||
DAEMON_SITE = http://libslack.org/daemon/download
|
||||
DAEMON_LICENSE = GPL-2.0+, LGPL-2.0+, BSD-3-Clause, Tatu Ylonen permissive license
|
||||
DAEMON_LICENSE_FILES = LICENSE COPYING \
|
||||
LICENSES/LicenseRef-BSD-3-Clause-Almost.txt \
|
||||
LICENSES/GPL-2.0-or-later.txt \
|
||||
LICENSES/LGPL-2.0-or-later.txt \
|
||||
LICENSES/LicenseRef-Tatu-Ylonen-Permissive.txt
|
||||
|
||||
define DAEMON_CONFIGURE_CMDS
|
||||
(cd $(@D); ./configure)
|
||||
endef
|
||||
|
||||
define DAEMON_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -std=c99" -C $(@D)
|
||||
endef
|
||||
|
||||
define DAEMON_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) DEB_BUILD_OPTIONS=nostrip \
|
||||
$(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) \
|
||||
install-daemon-bin
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user