diff options
| author | Alejandro del Castillo <alejandro.delcastillo@ni.com> | 2019-06-24 14:27:06 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-27 12:20:36 +0100 |
| commit | f5379ec0d0942fff2f4c6a4ddceefc8a4fb2107d (patch) | |
| tree | 1a48b0ca58f9b5e9036ee2e421c79768897ef911 /meta/recipes-devtools/opkg/opkg_0.4.0.bb | |
| parent | e58f930df5a22ee42c27cff0ca12bc9bf961b74b (diff) | |
| download | poky-f5379ec0d0942fff2f4c6a4ddceefc8a4fb2107d.tar.gz | |
opkg: upgrade to version 0.4.1
- Drop 0001-libopkg-add-add-ignore-recommends-option.patch
- Drop 0001-opkg-add-target-for-testsuite-installation.patch
- Drop 0001-regress-issue72.py-resolve-paths-before-comparision.patch
- Remove test binaries tests\libopkg_test, leftovers from make dist
process
(From OE-Core rev: b14c17e9b1992a7f6c9acfa9ee82037325163b31)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg_0.4.0.bb')
| -rw-r--r-- | meta/recipes-devtools/opkg/opkg_0.4.0.bb | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/meta/recipes-devtools/opkg/opkg_0.4.0.bb b/meta/recipes-devtools/opkg/opkg_0.4.0.bb deleted file mode 100644 index e2305d096a..0000000000 --- a/meta/recipes-devtools/opkg/opkg_0.4.0.bb +++ /dev/null | |||
| @@ -1,69 +0,0 @@ | |||
| 1 | SUMMARY = "Open Package Manager" | ||
| 2 | SUMMARY_libopkg = "Open Package Manager library" | ||
| 3 | SECTION = "base" | ||
| 4 | HOMEPAGE = "http://code.google.com/p/opkg/" | ||
| 5 | BUGTRACKER = "http://code.google.com/p/opkg/issues/list" | ||
| 6 | LICENSE = "GPLv2+" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
| 8 | file://src/opkg.c;beginline=2;endline=21;md5=90435a519c6ea69ef22e4a88bcc52fa0" | ||
| 9 | |||
| 10 | DEPENDS = "libarchive" | ||
| 11 | |||
| 12 | PE = "1" | ||
| 13 | |||
| 14 | SRC_URI = "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz \ | ||
| 15 | file://opkg.conf \ | ||
| 16 | file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \ | ||
| 17 | file://0001-libopkg-add-add-ignore-recommends-option.patch \ | ||
| 18 | file://0001-regress-issue72.py-resolve-paths-before-comparision.patch \ | ||
| 19 | file://0001-opkg-add-target-for-testsuite-installation.patch \ | ||
| 20 | file://run-ptest \ | ||
| 21 | " | ||
| 22 | |||
| 23 | SRC_URI[md5sum] = "ae51d95fee599bb4dce08453529158f5" | ||
| 24 | SRC_URI[sha256sum] = "f6c00515d8a2ad8f6742a8e73830315d1983ed0459cba77c4d656cfc9e7fe6fe" | ||
| 25 | |||
| 26 | # This needs to be before ptest inherit, otherwise all ptest files end packaged | ||
| 27 | # in libopkg package if OPKGLIBDIR == libdir, because default | ||
| 28 | # PTEST_PATH ?= "${libdir}/${BPN}/ptest" | ||
| 29 | PACKAGES =+ "libopkg" | ||
| 30 | |||
| 31 | inherit autotools pkgconfig systemd ptest | ||
| 32 | |||
| 33 | target_localstatedir := "${localstatedir}" | ||
| 34 | OPKGLIBDIR = "${target_localstatedir}/lib" | ||
| 35 | |||
| 36 | PACKAGECONFIG ??= "libsolv" | ||
| 37 | |||
| 38 | PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,gpgme libgpg-error,gnupg" | ||
| 39 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" | ||
| 40 | PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curl openssl" | ||
| 41 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl" | ||
| 42 | PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" | ||
| 43 | PACKAGECONFIG[pathfinder] = "--enable-pathfinder,--disable-pathfinder,pathfinder" | ||
| 44 | PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv" | ||
| 45 | |||
| 46 | EXTRA_OECONF_class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}" | ||
| 47 | |||
| 48 | do_install_append () { | ||
| 49 | install -d ${D}${sysconfdir}/opkg | ||
| 50 | install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg/opkg.conf | ||
| 51 | echo "option lists_dir ${OPKGLIBDIR}/opkg/lists" >>${D}${sysconfdir}/opkg/opkg.conf | ||
| 52 | |||
| 53 | # We need to create the lock directory | ||
| 54 | install -d ${D}${OPKGLIBDIR}/opkg | ||
| 55 | } | ||
| 56 | |||
| 57 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive" | ||
| 58 | RDEPENDS_${PN}_class-native = "" | ||
| 59 | RDEPENDS_${PN}_class-nativesdk = "" | ||
| 60 | RDEPENDS_${PN}-ptest += "make binutils python3-core python3-compression" | ||
| 61 | RREPLACES_${PN} = "opkg-nogpg opkg-collateral" | ||
| 62 | RCONFLICTS_${PN} = "opkg-collateral" | ||
| 63 | RPROVIDES_${PN} = "opkg-collateral" | ||
| 64 | |||
| 65 | FILES_libopkg = "${libdir}/*.so.* ${OPKGLIBDIR}/opkg/" | ||
| 66 | |||
| 67 | BBCLASSEXTEND = "native nativesdk" | ||
| 68 | |||
| 69 | CONFFILES_${PN} = "${sysconfdir}/opkg/opkg.conf" | ||
