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 v2 1/1] tovid: new package
Date: Wed, 18 Mar 2015 11:18:34 +0200	[thread overview]
Message-ID: <20150318091834.GA7221@tarshish> (raw)
In-Reply-To: <1426657033-5573-1-git-send-email-skenton@ou.edu>

Hi Steve,

On Wed, Mar 18, 2015 at 12:37:13AM -0500, Steve Kenton wrote:
> diff --git a/package/tovid/tovid.hash b/package/tovid/tovid.hash
> new file mode 100644
> index 0000000..32b0831
> --- /dev/null
> +++ b/package/tovid/tovid.hash
> @@ -0,0 +1,2 @@
> +# Locally computed using sha256sum
> +sha256	09db004edc4f467beb3f70c6dde02967073cae0cac028df90b2cd4878ac246ec  tovid-3534.tar.gz

Since you use svn download method below, you should not add a .hash file. Tar 
does not guarantee identical results on different invocations, even on the 
same source tree.

> diff --git a/package/tovid/tovid.mk b/package/tovid/tovid.mk
> new file mode 100644
> index 0000000..9e474fb
> --- /dev/null
> +++ b/package/tovid/tovid.mk
> @@ -0,0 +1,19 @@
> +################################################################################
> +#
> +# tovid
> +#
> +################################################################################
> +
> +TOVID_SITE = http://tovid.googlecode.com/svn/trunk/tovid
> +TOVID_SITE_METHOD = svn
> +TOVID_VERSION = 3534
> +TOVID_LICENSE = GPLv2.0
> +TOVID_LICENSE_FILES = COPYING
> +TOVID_DEPENDENCIES += python
> +
> +# Must be run in source directory to avoid "error: package directory 'libtovid' does not exist"
> +define TOVID_INSTALL_TARGET_CMDS
> +	bash -c "cd $(@D); ./setup.py install --root=$(TARGET_DIR) --prefix=/usr"
> +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-03-18  9:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-18  5:37 [Buildroot] [PATCH v2 1/1] tovid: new package Steve Kenton
2015-03-18  9:18 ` Baruch Siach [this message]

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=20150318091834.GA7221@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