mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-31 01:10:08 +00:00
Convert to new override syntax
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -5,7 +5,7 @@ LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a"
|
||||
|
||||
DEPENDS = "coreutils-native aufs-util-native"
|
||||
DEPENDS_class-native = ""
|
||||
DEPENDS:class-native = ""
|
||||
|
||||
SRCREV = "8f35db59ef83078f87879ec2828e0bb45719e0ef"
|
||||
SRC_URI = "git://git.code.sf.net/p/aufs/aufs-util;protocol=git;branch=aufs4.9 \
|
||||
@@ -23,20 +23,20 @@ PV = "4.9+git${SRCPV}"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
export HOSTCC = "${BUILD_CC}"
|
||||
do_configure_prepend() {
|
||||
do_configure:prepend() {
|
||||
# Replace sbin,bin paths with bitbake environment
|
||||
sed -i -e 's;install_sbin: Tgt = ${DESTDIR}/sbin;install_sbin: Tgt = ${DESTDIR}/${base_sbindir};' \
|
||||
-e 's;install_ubin: Tgt = ${DESTDIR}/usr/sbin;install_sbin: Tgt = ${DESTDIR}/${bindir};' \
|
||||
${S}/Makefile
|
||||
}
|
||||
|
||||
do_configure_append () {
|
||||
do_configure:append () {
|
||||
install -d ${S}/include/linux/
|
||||
cp ${WORKDIR}/aufs_type.h ${S}/include/linux/
|
||||
sed -i -e 's;__user;;' ${S}/include/linux/aufs_type.h
|
||||
}
|
||||
|
||||
do_configure_append_class-target () {
|
||||
do_configure:append:class-target () {
|
||||
for i in ver c2sh c2tmac; do
|
||||
cp ${STAGING_BINDIR_NATIVE}/aufs-util-${PV}/$i ${B}
|
||||
done
|
||||
@@ -46,7 +46,7 @@ do_compile () {
|
||||
oe_runmake CPPFLAGS="-I${S}/include -I${S}/libau"
|
||||
}
|
||||
|
||||
do_compile_class-native () {
|
||||
do_compile:class-native () {
|
||||
oe_runmake tools CPPFLAGS="-I${S}/include -I${S}/libau" CC="${BUILD_CC}"
|
||||
}
|
||||
|
||||
@@ -54,13 +54,13 @@ do_install () {
|
||||
oe_runmake 'DESTDIR=${D}' install_sbin install_ubin install_etc
|
||||
}
|
||||
|
||||
do_install_class-native () {
|
||||
do_install:class-native () {
|
||||
install -d ${D}${bindir}/aufs-util-${PV}
|
||||
for i in ver c2sh c2tmac; do
|
||||
install -m 755 $i ${D}${bindir}/aufs-util-${PV}/$i
|
||||
done
|
||||
}
|
||||
|
||||
RRECOMMENDS_${PN}_class-target += "kernel-module-aufs"
|
||||
RRECOMMENDS:${PN}:class-target += "kernel-module-aufs"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
@@ -6,7 +6,7 @@ DEPENDS = "glib-2.0 \
|
||||
intltool-native \
|
||||
udev \
|
||||
"
|
||||
RDEPENDS_${PN} = "udev bash"
|
||||
RDEPENDS:${PN} = "udev bash"
|
||||
|
||||
LICENSE = "GPL-3.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
@@ -24,5 +24,5 @@ SRC_URI[sha256sum] = "ce8c51fd4d589cda7be56e75b42188deeb258c66fc911a9b3a70a3945c
|
||||
PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
|
||||
PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
|
||||
|
||||
SYSTEMD_SERVICE_${PN} = "devmon@.service"
|
||||
SYSTEMD_SERVICE:${PN} = "devmon@.service"
|
||||
SYSTEMD_AUTO_ENABLE = "disable"
|
||||
|
||||
@@ -16,7 +16,7 @@ S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" CFLAGS="${CFLAGS}""
|
||||
|
||||
CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__ -D_GNU_SOURCE"
|
||||
CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__ -D_GNU_SOURCE"
|
||||
|
||||
do_configure() {
|
||||
sed -i -e "s|-static$||g" ${S}/Makefile
|
||||
@@ -28,5 +28,5 @@ do_install() {
|
||||
|
||||
PROVIDES += "ufs-tool"
|
||||
|
||||
RPROVIDES_${PN} += "ufs-tool"
|
||||
RPROVIDES:${PN} += "ufs-tool"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ SUMMARY = "XFS Filesystem Utilities"
|
||||
HOMEPAGE = "http://oss.sgi.com/projects/xfs"
|
||||
SECTION = "base"
|
||||
LICENSE = "GPLv2 & LGPLv2.1"
|
||||
LICENSE_libhandle = "LGPLv2.1"
|
||||
LICENSE:libhandle = "LGPLv2.1"
|
||||
LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=e6a75371ba4d16749254a51215d13f97 \
|
||||
file://LICENSES/LGPL-2.1;md5=b370887980db5dd40659b50909238dbd"
|
||||
DEPENDS = "util-linux util-linux-native"
|
||||
@@ -19,13 +19,13 @@ PACKAGES =+ "${PN}-fsck ${PN}-mkfs ${PN}-repair libhandle"
|
||||
|
||||
DEPENDS += "util-linux libinih"
|
||||
|
||||
RDEPENDS_${PN} = "${PN}-fsck ${PN}-mkfs ${PN}-repair"
|
||||
RDEPENDS:${PN} = "${PN}-fsck ${PN}-mkfs ${PN}-repair"
|
||||
|
||||
FILES_${PN}-fsck = "${base_sbindir}/fsck.xfs"
|
||||
FILES_${PN}-mkfs = "${base_sbindir}/mkfs.xfs"
|
||||
FILES_${PN}-repair = "${base_sbindir}/xfs_repair"
|
||||
FILES:${PN}-fsck = "${base_sbindir}/fsck.xfs"
|
||||
FILES:${PN}-mkfs = "${base_sbindir}/mkfs.xfs"
|
||||
FILES:${PN}-repair = "${base_sbindir}/xfs_repair"
|
||||
|
||||
FILES_libhandle = "${base_libdir}/libhandle${SOLIBS}"
|
||||
FILES:libhandle = "${base_libdir}/libhandle${SOLIBS}"
|
||||
|
||||
EXTRA_OECONF = "--enable-gettext=no \
|
||||
--enable-scrub=no \
|
||||
@@ -61,7 +61,7 @@ do_configure () {
|
||||
oe_runconf
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
oe_runmake 'DESTDIR=${D}' install-dev
|
||||
rm ${D}${libdir}/*.la
|
||||
rmdir --ignore-fail-on-non-empty ${D}${libdir}
|
||||
|
||||
@@ -19,11 +19,11 @@ PACKAGECONFIG[readline] = "--enable-libreadline,--disable-libreadline,readline,"
|
||||
|
||||
inherit autotools-brokensep pkgconfig features_check
|
||||
|
||||
do_configure_prepend () {
|
||||
do_configure:prepend () {
|
||||
touch NEWS
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} = "tk"
|
||||
RDEPENDS:${PN} = "tk"
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
Reference in New Issue
Block a user