[oe] [PATCH meta-oe v2 6/8] strongswan: add

Koen Kooi koen at dominion.thruhere.net
Fri Dec 16 10:41:36 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 16-12-11 10:41, b19537 at freescale.com schreef:
> From: Zhenhua Luo <b19537 at freescale.com>
> 
> strongSwan is an OpenSource IPsec implementation for the Linux operating
> system.
> 
> Signed-off-by: Zhenhua Luo <b19537 at freescale.com> --- 
> .../recipes-support/strongswan/strongswan_4.5.1.bb |   21
> ++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) 
> create mode 100644
> meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
> 
> diff --git a/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb
> b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb new file mode
> 100644 index 0000000..9c5e736 --- /dev/null +++
> b/meta-oe/recipes-support/strongswan/strongswan_4.5.1.bb @@ -0,0 +1,21
> @@ +DESCRIPTION = "strongSwan is an OpenSource IPsec implementation for
> the \ +Linux operating system." +HOMEPAGE = "http://www.strongswan.org" 
> +SECTION = "console/network" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM =
> "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" + +SRC_URI =
> "http://download.strongswan.org/strongswan-${PV}.tar.bz2" 
> +SRC_URI[md5sum] = "81a4a699c4a1a49b74061dfa47b5a033" +SRC_URI[sha256sum]
> = "252d7369d94aa2d79e6fad078853b07ca897ea811ab1e1a2b008bcec0d1e758a" + 
> +EXTRA_OECONF = "--disable-curl --disable-soup --disable-ldap \ +
> --enable-gmp --disable-mysql --disable-sqlite \ +		--enable-openssl" + 
> +inherit autotools + +DEPENDS = "gmp openssl flex-native flex
> bison-native"

Normal DEPENDS go at the top :) Same for the rng-tools recipe. The general
idea is that 'recipe' variable go on top and other variables are ordered
next to the tasks they are used in, e.g. RDEPENDS are for do_packages, so
they go below do_install, DEPENDS are for the recipe, so they go on top.

> +RRECOMMENDS_${PN} = "kernel-module-ipsec" + +FILES_${PN}-dbg +=
> "${libexecdir}/ipsec/.debug ${libexecdir}/ipsec/plugins/.debug"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7rIGAACgkQMkyGM64RGpHudwCgu3FhI+64lWnp7q6gzK1itDW3
2TYAn0lXYwRxN5vKcrErNyF4jZO8adfy
=Zmzb
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list