Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] daemon: new package
Date: Mon, 1 May 2017 21:33:51 +0200	[thread overview]
Message-ID: <8ff50b7e-e18d-39bb-ba93-12b9f78cda2d@gmail.com> (raw)
In-Reply-To: <d5dadc5047888dabaabd88b4f3b885558d30c0b7.1493666251.git.baruch@tkos.co.il>

Hi Baruch,

Le 01/05/2017 ? 21:17, Baruch Siach a ?crit :
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---

[...]

> diff --git a/package/daemon/Config.in b/package/daemon/Config.in
> new file mode 100644
> index 000000000000..30954e77edc7
> --- /dev/null
> +++ b/package/daemon/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_DAEMON
> +	bool "daemon"
> +	depends on BR2_USE_MMU # fork()
> +	help
> +	  Daemon turns other process into daemons.
> +
> +	  http://www.libslack.org/daemon/
> diff --git a/package/daemon/daemon.hash b/package/daemon/daemon.hash
> new file mode 100644
> index 000000000000..32308ea3f773
> --- /dev/null
> +++ b/package/daemon/daemon.hash
> @@ -0,0 +1,3 @@
> +# md5 from http://www.libslack.org/daemon/; sha256 locally calculated
> +md5 6cd0a28630a29ac279bc501f39baec66 daemon-0.6.4.tar.gz
> +sha256 c4b9ea4aa74d55ea618c34f1e02c080ddf368549037cb239ee60c83191035ca1 daemon-0.6.4.tar.gz
> diff --git a/package/daemon/daemon.mk b/package/daemon/daemon.mk
> new file mode 100644
> index 000000000000..6b858ceb142d
> --- /dev/null
> +++ b/package/daemon/daemon.mk
> @@ -0,0 +1,20 @@
> +################################################################################
> +#
> +# daemon
> +#
> +################################################################################
> +
> +DAEMON_VERSION = 0.6.4
> +DAEMON_SITE = http://libslack.org/daemon/download
> +DAEMON_LICENSE = GPL-2.0+
> +DAEMON_LICENSE_FILES = LICENSE
> +
> +define DAEMON_CONFIGURE_CMDS
> +	(cd $(@D); ./config)
> +endef
> +
> +define DAEMON_BUILD_CMDS
> +	$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
> +endef

Almost good, except nothing is installed in TARGET_DIR :)

DAEMON_INSTALL_TARGET_CMDS is missing.

Best regards,
Romain

> +
> +$(eval $(generic-package))
> 

  reply	other threads:[~2017-05-01 19:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-01 19:17 [Buildroot] [PATCH] daemon: new package Baruch Siach
2017-05-01 19:33 ` Romain Naour [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-05-02  5:07 Baruch Siach
2017-05-02 20:49 ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8ff50b7e-e18d-39bb-ba93-12b9f78cda2d@gmail.com \
    --to=romain.naour@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox