diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2015-04-27 14:27:29 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-11 10:25:53 +0200 |
commit | f28cf96518c0ba4641abb008fcc72b8138ea04cb (patch) | |
tree | 3a115ba1373a22071d994c26840f403d3852022e /meta-oe/recipes-support | |
parent | 06f9a8aa55fff7ff883bb924e1301270e2b0968b (diff) | |
download | meta-openembedded-f28cf96518c0ba4641abb008fcc72b8138ea04cb.tar.gz |
gsoap: fold .inc and -native into one recipe
* use BBCLASSEXTEND instead of separate recipe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r-- | meta-oe/recipes-support/gsoap/gsoap-native_2.8.12.bb | 14 | ||||
-rw-r--r-- | meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb | 35 | ||||
-rw-r--r-- | meta-oe/recipes-support/gsoap/gsoap_2.8.12.inc | 23 |
3 files changed, 30 insertions, 42 deletions
diff --git a/meta-oe/recipes-support/gsoap/gsoap-native_2.8.12.bb b/meta-oe/recipes-support/gsoap/gsoap-native_2.8.12.bb deleted file mode 100644 index ac90155b5..000000000 --- a/meta-oe/recipes-support/gsoap/gsoap-native_2.8.12.bb +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | require gsoap_${PV}.inc | ||
2 | |||
3 | DEPENDS = "flex-native" | ||
4 | EXTRA_OEMAKE = "" | ||
5 | |||
6 | inherit native | ||
7 | |||
8 | do_install() { | ||
9 | oe_runmake DESTDIR=${D} BINDIR=${D}${bindir} install | ||
10 | } | ||
11 | |||
12 | |||
13 | SRC_URI[md5sum] = "5700d26fc6fe3073d038349e19c3640d" | ||
14 | SRC_URI[sha256sum] = "51eef118544fa846f4d2dea2eedf91c84c46a1abeafc5eee3dcff783f4015a00" | ||
diff --git a/meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb b/meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb index b85db05ff..b5c399530 100644 --- a/meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb +++ b/meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb | |||
@@ -1,6 +1,27 @@ | |||
1 | require gsoap_${PV}.inc | 1 | DESCRIPTION = "The gSOAP toolkit provides a unique SOAP-to-C/C++ language binding \ |
2 | for the development of SOAP Web Services and clients." | ||
3 | SECTION = "devel" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b338b08b1b61e028e0f399a4de25e58f" | ||
2 | 6 | ||
3 | DEPENDS = "gsoap-native openssl zlib" | 7 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}2/${BPN}_${PV}.zip" |
8 | SRC_URI[md5sum] = "5700d26fc6fe3073d038349e19c3640d" | ||
9 | SRC_URI[sha256sum] = "51eef118544fa846f4d2dea2eedf91c84c46a1abeafc5eee3dcff783f4015a00" | ||
10 | |||
11 | inherit autotools | ||
12 | |||
13 | BBCLASSEXTEND = "native" | ||
14 | |||
15 | PR = "r1" | ||
16 | |||
17 | S = "${WORKDIR}/${BPN}-2.8" | ||
18 | |||
19 | PARALLEL_MAKE = "" | ||
20 | |||
21 | EXTRA_OEMAKE_class-target = "SOAP=${STAGING_BINDIR_NATIVE}/soapcpp2" | ||
22 | |||
23 | DEPENDS_class-target = "gsoap-native openssl zlib" | ||
24 | DEPENDS_class-native = "flex-native" | ||
4 | 25 | ||
5 | do_install_append() { | 26 | do_install_append() { |
6 | install -d ${D}${libdir} | 27 | install -d ${D}${libdir} |
@@ -10,8 +31,12 @@ do_install_append() { | |||
10 | done | 31 | done |
11 | } | 32 | } |
12 | 33 | ||
34 | do_install_class-native() { | ||
35 | oe_runmake DESTDIR=${D} BINDIR=${D}${bindir} install | ||
36 | } | ||
37 | |||
13 | FILES_${PN} = "${bindir}/wsdl2h ${bindir}/soapcpp2" | 38 | FILES_${PN} = "${bindir}/wsdl2h ${bindir}/soapcpp2" |
14 | FILES_${PN} += "${datadir}" | 39 | FILES_${PN} += "${datadir}" |
15 | 40 | FILES_${PN}-staticdev = "${libdir}" | |
16 | SRC_URI[md5sum] = "5700d26fc6fe3073d038349e19c3640d" | 41 | FILES_${PN}-dev = "${includedir}" |
17 | SRC_URI[sha256sum] = "51eef118544fa846f4d2dea2eedf91c84c46a1abeafc5eee3dcff783f4015a00" | 42 | RRECOMMENDS_${PN}-dev = "${PN}-staticdev" |
diff --git a/meta-oe/recipes-support/gsoap/gsoap_2.8.12.inc b/meta-oe/recipes-support/gsoap/gsoap_2.8.12.inc deleted file mode 100644 index 9e2a7825f..000000000 --- a/meta-oe/recipes-support/gsoap/gsoap_2.8.12.inc +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | DESCRIPTION = "The gSOAP toolkit provides a unique SOAP-to-C/C++ language binding \ | ||
2 | for the development of SOAP Web Services and clients." | ||
3 | SECTION = "devel" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b338b08b1b61e028e0f399a4de25e58f" | ||
6 | |||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/gsoap2/gsoap_${PV}.zip \ | ||
8 | " | ||
9 | |||
10 | inherit autotools | ||
11 | |||
12 | PR = "r1" | ||
13 | |||
14 | S = "${WORKDIR}/gsoap-2.8" | ||
15 | |||
16 | FILES_${PN}-dev = "${includedir}" | ||
17 | RRECOMMENDS_${PN}-dev = "${PN}-staticdev" | ||
18 | |||
19 | FILES_${PN}-staticdev = "${libdir}" | ||
20 | |||
21 | PARALLEL_MAKE = "" | ||
22 | |||
23 | EXTRA_OEMAKE = "SOAP=${STAGING_BINDIR_NATIVE}/soapcpp2" | ||