Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] benejson: new package
Date: Sat, 17 Jan 2015 21:37:03 +0200	[thread overview]
Message-ID: <20150117193703.GB2827@tarshish> (raw)
In-Reply-To: <1421413381-25236-1-git-send-email-codehero@gmail.com>

Hi David,

On Fri, Jan 16, 2015 at 08:03:01AM -0500, David Bender wrote:
> diff --git a/package/benejson/benejson.mk b/package/benejson/benejson.mk
> new file mode 100644
> index 0000000..851b95e
> --- /dev/null
> +++ b/package/benejson/benejson.mk
> @@ -0,0 +1,37 @@
> +################################################################################
> +#
> +# benejson
> +#
> +################################################################################
> +
> +BENEJSON_VERSION = 0.9.7
> +BENEJSON_SITE =  $(call github,codehero,benejson,$(BENEJSON_VERSION))
> +BENEJSON_LICENSE = BSD-3c
> +BENEJSON_LICENSE_FILES = COPYING
> +BENEJSON_INSTALL_STAGING = YES
> +
> +BENEJSON_DEPENDENCIES = host-scons
> +
> +BENEJSON_SCONS_ENV = $(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS)
> +
> +define BENEJSON_BUILD_CMDS
> +	(cd $(@D); \
> +		$(BENEJSON_SCONS_ENV) \
> +		$(SCONS) \
> +		$(BENEJSON_SCONS_OPTS))

BENEJSON_SCONS_OPTS doesn't seem to be initialized here.

> +endef
> +
> +define BENEJSON_INSTALL_STAGING_CMDS
> +	(cd $(@D); \
> +		cp -ra include/benejson $(STAGING_DIR)/usr/include; \
> +		cp lib/libbenejson.{so,a} $(STAGING_DIR)/usr/lib \
> +		)
> +endef
> +
> +define BENEJSON_INSTALL_TARGET_CMDS
> +	(cd $(@D); \
> +		cp lib/libbenejson.{so,a} $(TARGET_DIR)/usr/lib \
> +		)
> +endef
> +
> +$(eval $(generic-package))

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

  reply	other threads:[~2015-01-17 19:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-16 13:03 [Buildroot] [PATCH 1/1] benejson: new package David Bender
2015-01-17 19:37 ` Baruch Siach [this message]
2015-01-22 19:10   ` [Buildroot] [PATCH 1/3] " David Bender
2015-01-22 19:10     ` [Buildroot] [PATCH 2/3] fix license file David Bender
2015-01-22 19:10     ` [Buildroot] [PATCH 3/3] Set correct license David Bender
2015-01-25 14:52     ` [Buildroot] [PATCH 1/3] benejson: new package Yann E. MORIN
2015-01-25 18:17     ` Yann E. MORIN

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=20150117193703.GB2827@tarshish \
    --to=baruch@tkos.co.il \
    --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