* Specifying license files
@ 2011-02-17 8:57 Chris Tapp
2011-02-17 9:09 ` Kang Kai
2011-02-17 9:14 ` Saul Wold
0 siblings, 2 replies; 3+ messages in thread
From: Chris Tapp @ 2011-02-17 8:57 UTC (permalink / raw)
To: yocto
I'm trying to create a recipe to build libSDL, but I can't get the
licensing working. My .bb file contains:
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
The source is downloaded in to tmp/ where I have a libsdl-1.2.14-r0/
SDL-1.2.14 directory that contains the COPYING file.
How should I specify this in LIC_FILES_CHKSUM ?
Chris Tapp
opensource@keylevel.com
www.keylevel.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Specifying license files
2011-02-17 8:57 Specifying license files Chris Tapp
@ 2011-02-17 9:09 ` Kang Kai
2011-02-17 9:14 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Kang Kai @ 2011-02-17 9:09 UTC (permalink / raw)
To: Chris Tapp; +Cc: yocto
On 2011年02月17日 16:57, Chris Tapp wrote:
> I'm trying to create a recipe to build libSDL, but I can't get the
> licensing working. My .bb file contains:
>
> LICENSE = "LGPLv2.1"
> LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
>
> The source is downloaded in to tmp/ where I have a
> libsdl-1.2.14-r0/SDL-1.2.14 directory that contains the COPYING file.
find the file COPYING, and run md5sum COPYING, then you will get the md5
value, and substitute the value after "md5=".
I think it will be ok.
>
> How should I specify this in LIC_FILES_CHKSUM ?
>
> Chris Tapp
>
> opensource@keylevel.com
> www.keylevel.com
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Specifying license files
2011-02-17 8:57 Specifying license files Chris Tapp
2011-02-17 9:09 ` Kang Kai
@ 2011-02-17 9:14 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2011-02-17 9:14 UTC (permalink / raw)
To: yocto
On 02/17/2011 12:57 AM, Chris Tapp wrote:
> I'm trying to create a recipe to build libSDL, but I can't get the
> licensing working. My .bb file contains:
>
> LICENSE = "LGPLv2.1"
> LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
>
This is correct if the md5sum of COPYING is matching.
> The source is downloaded in to tmp/ where I have a
> libsdl-1.2.14-r0/SDL-1.2.14 directory that contains the COPYING file.
>
Since the source is created in a subdirectory, you need to reset the $S as:
S = "${WORKDIR}/SDL-${PV}"
${PV} is derived from the version of the recipe, you do not need to set
it explicitly.
> How should I specify this in LIC_FILES_CHKSUM ?
>
By setting S as above this will give the file:// root to be under the
SDL-1.2.14 directory.
Sau!
> Chris Tapp
>
> opensource@keylevel.com
> www.keylevel.com
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-17 9:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-17 8:57 Specifying license files Chris Tapp
2011-02-17 9:09 ` Kang Kai
2011-02-17 9:14 ` Saul Wold
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.