Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] jquery-keyboard: new package
Date: Fri, 03 May 2013 21:50:17 +0200	[thread overview]
Message-ID: <518414F9.4030506@mind.be> (raw)
In-Reply-To: <1367582973-20541-1-git-send-email-gustavo@zacarias.com.ar>

On 03/05/13 14:09, Gustavo Zacarias wrote:
> Add the jquery-keyboard package based on Simon Dawson's patch with a
> newer version and improvements (license, select jquery, install
> layouts).
>
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[snip]
> diff --git a/package/jquery-keyboard/jquery-keyboard.mk b/package/jquery-keyboard/jquery-keyboard.mk
> new file mode 100644
> index 0000000..81764ee
> --- /dev/null
> +++ b/package/jquery-keyboard/jquery-keyboard.mk
> @@ -0,0 +1,26 @@
> +#############################################################
> +#
> +# jquery-keyboard
> +#
> +#############################################################
> +
> +JQUERY_KEYBOARD_VERSION = 1.17.4
> +JQUERY_KEYBOARD_SITE = \
> +	http://github.com/Mottie/Keyboard/tarball/v$(JQUERY_KEYBOARD_VERSION)
> +JQUERY_KEYBOARD_LICENSE = MIT WTFPL

  I prefer

JQUERY_KEYBOARD_LICENSE = MIT (code), WTFPL (layouts)

> +JQUERY_KEYBOARD_LICENSE_FILES = README.markdown

  That file does nothing more than refer to the websites with the license 
text... Not sure how to deal with that.

> +
> +define JQUERY_KEYBOARD_INSTALL_TARGET_CMDS
> +	$(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/css

  With the -D arguments below, the line above is redundant.

> +	$(INSTALL) -m 0644 -D $(@D)/css/keyboard.css \
> +		$(TARGET_DIR)/var/www/css/keyboard.css
> +	$(INSTALL) -m 0644 -D $(@D)/js/jquery.keyboard*.js \
> +		$(TARGET_DIR)/var/www
> +	$(INSTALL) -m 0644 -D $(@D)/js/jquery.mousewheel.js \
> +		$(TARGET_DIR)/var/www/jquery.mousewheel.js
> +	$(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/layouts
> +	$(INSTALL) -m 0644 -D $(@D)/layouts/*.js \
> +		$(TARGET_DIR)/var/www/layouts

  But why not just cp -r $(@D)/{css,js,layouts} $(TARGET_DIR)/var/www ?


  Regards,
  Arnout

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


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

  parent reply	other threads:[~2013-05-03 19:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-03 12:09 [Buildroot] [PATCH] jquery-keyboard: new package Gustavo Zacarias
2013-05-03 14:34 ` Simon Dawson
2013-05-03 19:50 ` Arnout Vandecappelle [this message]
2013-05-03 20:06   ` Gustavo Zacarias
  -- strict thread matches above, loose matches on Subject: below --
2012-06-08 13:52 spdawson at gmail.com

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=518414F9.4030506@mind.be \
    --to=arnout@mind.be \
    --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