From 80747190ccce6628ce8815cf856f6ab867a00b5d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 29 Jul 2021 23:59:42 +0100 Subject: meta-gplv2: Convert to new override syntax This converts the layer to the new override syntax. This was done using /scripts/contrib/convert-overrides.py with no manual fixes. Signed-off-by: Richard Purdie --- recipes-extended/bash/bash.inc | 22 +++++++++++----------- recipes-extended/bc/bc_1.06.bb | 2 +- recipes-extended/cpio/cpio_v2.inc | 6 +++--- recipes-extended/diffutils/diffutils.inc | 2 +- recipes-extended/diffutils/diffutils_2.8.1.bb | 2 +- recipes-extended/ed/ed_0.5.bb | 6 +++--- recipes-extended/findutils/findutils.inc | 2 +- recipes-extended/gawk/gawk_3.1.5.bb | 14 +++++++------- recipes-extended/gperf/gperf.inc | 2 +- recipes-extended/grep/grep_2.5.1a.bb | 6 +++--- recipes-extended/groff/groff_1.18.1.4.bb | 4 ++-- recipes-extended/gzip/gzip.inc | 8 ++++---- recipes-extended/libidn/libidn_0.6.14.bb | 4 ++-- recipes-extended/mc/mc_4.7.5.2.bb | 18 +++++++++--------- recipes-extended/msmtp/msmtp_1.4.12.bb | 4 ++-- recipes-extended/sed/sed_4.1.2.bb | 4 ++-- recipes-extended/tar/tar.inc | 14 +++++++------- recipes-extended/texinfo/texinfo_4.8.bb | 18 +++++++++--------- recipes-extended/time/time_1.7.bb | 2 +- recipes-extended/which/which_2.18.bb | 4 ++-- 20 files changed, 72 insertions(+), 72 deletions(-) (limited to 'recipes-extended') diff --git a/recipes-extended/bash/bash.inc b/recipes-extended/bash/bash.inc index 0f0d679..4767618 100644 --- a/recipes-extended/bash/bash.inc +++ b/recipes-extended/bash/bash.inc @@ -14,21 +14,21 @@ EXTRA_OECONF = "--enable-job-control --without-bash-malloc" # This is what other major distros do. And this is what we wanted. See bug#5359 and bug#7137. CFLAGS += "-DNON_INTERACTIVE_LOGIN_SHELLS" -ALTERNATIVE_${PN} = "bash sh" +ALTERNATIVE:${PN} = "bash sh" ALTERNATIVE_LINK_NAME[bash] = "${base_bindir}/bash" ALTERNATIVE_TARGET[bash] = "${base_bindir}/bash" ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" ALTERNATIVE_TARGET[sh] = "${base_bindir}/bash.${BPN}" ALTERNATIVE_PRIORITY = "100" -RDEPENDS_${PN} += "base-files" -RDEPENDS_${PN}_class-nativesdk = "" -RDEPENDS_${PN}-ptest += "make" +RDEPENDS:${PN} += "base-files" +RDEPENDS:${PN}:class-nativesdk = "" +RDEPENDS:${PN}-ptest += "make" USERADD_PACKAGES = "${PN}-ptest" -USERADD_PARAM_${PN}-ptest = "--create-home --user-group test" +USERADD_PARAM:${PN}-ptest = "--create-home --user-group test" -do_configure_prepend () { +do_configure:prepend () { if [ ! -e ${S}/acinclude.m4 ]; then cat ${S}/aclocal.m4 > ${S}/acinclude.m4 fi @@ -38,14 +38,14 @@ do_compile_ptest () { oe_runmake buildtest } -do_install_append () { +do_install:append () { # Move /usr/bin/bash to /bin/bash, if need if [ "${base_bindir}" != "${bindir}" ]; then mkdir -p ${D}${base_bindir} mv ${D}${bindir}/bash ${D}${base_bindir} fi } -do_install_append_class-target () { +do_install:append:class-target () { # Clean host path in bashbug sed -i -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \ -e "s,-I${WORKDIR}/\S* ,,g" ${D}${bindir}/bashbug @@ -58,12 +58,12 @@ do_install_ptest () { -e "s,${S},,g" -e "s,${B},,g" -e "s,${STAGING_DIR_NATIVE},,g" ${D}${PTEST_PATH}/Makefile } -pkg_postinst_${PN} () { +pkg_postinst:${PN} () { grep -q "^${base_bindir}/bash$" $D${sysconfdir}/shells || echo ${base_bindir}/bash >> $D${sysconfdir}/shells } -pkg_postrm_${PN} () { +pkg_postrm:${PN} () { printf "$(grep -v "^${base_bindir}/bash$" $D${sysconfdir}/shells)\n" > $D${sysconfdir}/shells } -RPROVIDES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sh /bin/bash', '', d)}" +RPROVIDES:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sh /bin/bash', '', d)}" diff --git a/recipes-extended/bc/bc_1.06.bb b/recipes-extended/bc/bc_1.06.bb index 3de1b24..82143a4 100644 --- a/recipes-extended/bc/bc_1.06.bb +++ b/recipes-extended/bc/bc_1.06.bb @@ -20,7 +20,7 @@ SRC_URI[sha256sum] = "4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea7 inherit autotools texinfo update-alternatives -ALTERNATIVE_${PN} = "bc dc" +ALTERNATIVE:${PN} = "bc dc" ALTERNATIVE_PRIORITY = "100" BBCLASSEXTEND = "native" diff --git a/recipes-extended/cpio/cpio_v2.inc b/recipes-extended/cpio/cpio_v2.inc index 31adb71..f202d5f 100644 --- a/recipes-extended/cpio/cpio_v2.inc +++ b/recipes-extended/cpio/cpio_v2.inc @@ -26,14 +26,14 @@ do_install () { PACKAGES =+ "${PN}-rmt" -FILES_${PN}-rmt = "${base_sbindir}/rmt*" +FILES:${PN}-rmt = "${base_sbindir}/rmt*" inherit update-alternatives ALTERNATIVE_PRIORITY = "100" -ALTERNATIVE_${PN} = "cpio" -ALTERNATIVE_${PN}-rmt = "rmt" +ALTERNATIVE:${PN} = "cpio" +ALTERNATIVE:${PN}-rmt = "rmt" ALTERNATIVE_LINK_NAME[cpio] = "${base_bindir}/cpio" diff --git a/recipes-extended/diffutils/diffutils.inc b/recipes-extended/diffutils/diffutils.inc index c81348b..08ebaa9 100644 --- a/recipes-extended/diffutils/diffutils.inc +++ b/recipes-extended/diffutils/diffutils.inc @@ -6,6 +6,6 @@ SECTION = "base" inherit autotools texinfo update-alternatives gettext -ALTERNATIVE_${PN} = "diff cmp" +ALTERNATIVE:${PN} = "diff cmp" ALTERNATIVE_PRIORITY = "100" diff --git a/recipes-extended/diffutils/diffutils_2.8.1.bb b/recipes-extended/diffutils/diffutils_2.8.1.bb index 7c43c4b..6e48dc6 100644 --- a/recipes-extended/diffutils/diffutils_2.8.1.bb +++ b/recipes-extended/diffutils/diffutils_2.8.1.bb @@ -21,6 +21,6 @@ CACHED_CONFIGUREVARS = "\ jm_cv_func_working_realloc=yes \ " -do_configure_prepend () { +do_configure:prepend () { chmod u+w ${S}/po/Makefile.in.in } diff --git a/recipes-extended/ed/ed_0.5.bb b/recipes-extended/ed/ed_0.5.bb index e2df13f..8305e6b 100644 --- a/recipes-extended/ed/ed_0.5.bb +++ b/recipes-extended/ed/ed_0.5.bb @@ -15,6 +15,6 @@ inherit autotools texinfo EXTRA_OECONF = "'CC=${CC}' 'CXX=${CXX}' 'CFLAGS=${CFLAGS}' 'CXXFLAGS=${CXXFLAGS}' 'CPPFLAGS=${CPPFLAGS}' 'LDFLAGS=${LDFLAGS}'" -CONFIGUREOPTS_remove = "--disable-dependency-tracking" -CONFIGUREOPTS_remove = "--disable-silent-rules" -EXTRA_OECONF_remove = "--disable-static" +CONFIGUREOPTS:remove = "--disable-dependency-tracking" +CONFIGUREOPTS:remove = "--disable-silent-rules" +EXTRA_OECONF:remove = "--disable-static" diff --git a/recipes-extended/findutils/findutils.inc b/recipes-extended/findutils/findutils.inc index ad36429..8887675 100644 --- a/recipes-extended/findutils/findutils.inc +++ b/recipes-extended/findutils/findutils.inc @@ -10,7 +10,7 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz" inherit autotools gettext texinfo update-alternatives upstream-version-is-even -ALTERNATIVE_${PN} = "find xargs" +ALTERNATIVE:${PN} = "find xargs" ALTERNATIVE_PRIORITY = "100" BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-extended/gawk/gawk_3.1.5.bb b/recipes-extended/gawk/gawk_3.1.5.bb index 63fd32f..933c140 100644 --- a/recipes-extended/gawk/gawk_3.1.5.bb +++ b/recipes-extended/gawk/gawk_3.1.5.bb @@ -11,8 +11,8 @@ SECTION = "console/utils" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" -RDEPENDS_gawk += "gawk-common" -RDEPENDS_pgawk += "gawk-common" +RDEPENDS:gawk += "gawk-common" +RDEPENDS:pgawk += "gawk-common" PR = "r2" SRC_URI = "\ @@ -28,17 +28,17 @@ inherit autotools gettext texinfo update-alternatives PACKAGES += "gawk-common pgawk" -FILES_${PN} = "${bindir}/gawk* ${bindir}/igawk" -FILES_gawk-common += "${datadir}/awk/* ${libexecdir}/awk/*" -FILES_pgawk = "${bindir}/pgawk*" +FILES:${PN} = "${bindir}/gawk* ${bindir}/igawk" +FILES:gawk-common += "${datadir}/awk/* ${libexecdir}/awk/*" +FILES:pgawk = "${bindir}/pgawk*" -ALTERNATIVE_${PN} = "awk" +ALTERNATIVE:${PN} = "awk" ALTERNATIVE_TARGET[awk] = "${bindir}/gawk" ALTERNATIVE_PRIORITY = "100" CFLAGS += "-D PROTOTYPES" -do_install_append() { +do_install:append() { # remove the link since we don't package it rm ${D}${bindir}/awk } diff --git a/recipes-extended/gperf/gperf.inc b/recipes-extended/gperf/gperf.inc index a8ce230..10738e4 100644 --- a/recipes-extended/gperf/gperf.inc +++ b/recipes-extended/gperf/gperf.inc @@ -13,7 +13,7 @@ inherit autotools # duplicating acinclude.m4 in every subdirectory, use absolute include path to aclocal EXTRA_AUTORECONF += " -I ${S}" -do_configure_prepend() { +do_configure:prepend() { if [ ! -e ${S}/acinclude.m4 ]; then cat ${S}/aclocal.m4 > ${S}/acinclude.m4 fi diff --git a/recipes-extended/grep/grep_2.5.1a.bb b/recipes-extended/grep/grep_2.5.1a.bb index 5445c7e..1a3231e 100644 --- a/recipes-extended/grep/grep_2.5.1a.bb +++ b/recipes-extended/grep/grep_2.5.1a.bb @@ -27,13 +27,13 @@ SRC_URI[sha256sum] = "38c8a2bb9223d1fb1b10bdd607cf44830afc92fd451ac4cd07619bf92b inherit autotools gettext texinfo EXTRA_OECONF_INCLUDED_REGEX = "--without-included-regex" -EXTRA_OECONF_INCLUDED_REGEX_libc-musl = "--with-included-regex" +EXTRA_OECONF_INCLUDED_REGEX:libc-musl = "--with-included-regex" EXTRA_OECONF = "--disable-perl-regexp \ ${EXTRA_OECONF_INCLUDED_REGEX}" CFLAGS += "-D PROTOTYPES" -do_configure_prepend () { +do_configure:prepend () { rm -f ${S}/m4/init.m4 cp -f ${WORKDIR}/Makevars ${S}/po/ } @@ -53,7 +53,7 @@ inherit update-alternatives ALTERNATIVE_PRIORITY = "100" -ALTERNATIVE_${PN} = "grep egrep fgrep" +ALTERNATIVE:${PN} = "grep egrep fgrep" ALTERNATIVE_LINK_NAME[grep] = "${base_bindir}/grep" ALTERNATIVE_LINK_NAME[egrep] = "${base_bindir}/egrep" ALTERNATIVE_LINK_NAME[fgrep] = "${base_bindir}/fgrep" diff --git a/recipes-extended/groff/groff_1.18.1.4.bb b/recipes-extended/groff/groff_1.18.1.4.bb index a31cbf1..84b0d78 100644 --- a/recipes-extended/groff/groff_1.18.1.4.bb +++ b/recipes-extended/groff/groff_1.18.1.4.bb @@ -30,7 +30,7 @@ do_configure (){ oe_runconf } -do_install_append() { +do_install:append() { # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location # for target as /usr/bin/perl, so fix it to /usr/bin/perl. for i in afmtodit mmroff; do @@ -44,7 +44,7 @@ do_install_append() { cp -rf ${D}${datadir}/groff/site-tmac/* ${D}${datadir}/groff/${PV}/tmac/ } -pkg_postinst_${PN}() { +pkg_postinst:${PN}() { ln -s tbl $D${bindir}/gtbl echo "export GROFF_FONT_PATH=/usr/share/groff/${PV}/font" >> $D${sysconfdir}/profile echo "export GROFF_TMAC_PATH=/usr/share/groff/${PV}/tmac" >> $D${sysconfdir}/profile diff --git a/recipes-extended/gzip/gzip.inc b/recipes-extended/gzip/gzip.inc index 04f8f95..15fd665 100644 --- a/recipes-extended/gzip/gzip.inc +++ b/recipes-extended/gzip/gzip.inc @@ -8,10 +8,10 @@ SECTION = "console/utils" inherit autotools texinfo export DEFS="NO_ASM" -EXTRA_OEMAKE_class-target = "GREP=${base_bindir}/grep" -EXTRA_OECONF_append_libc-musl = " gl_cv_func_fflush_stdin=yes " +EXTRA_OEMAKE:class-target = "GREP=${base_bindir}/grep" +EXTRA_OECONF:append:libc-musl = " gl_cv_func_fflush_stdin=yes " -do_install_append () { +do_install:append () { if [ "${base_bindir}" != "${bindir}" ]; then # Rename and move files into /bin (FHS), which is typical place for gzip install -d ${D}${base_bindir} @@ -25,7 +25,7 @@ do_install_append () { inherit update-alternatives ALTERNATIVE_PRIORITY = "100" -ALTERNATIVE_${PN} = "gunzip gzip zcat" +ALTERNATIVE:${PN} = "gunzip gzip zcat" ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip" ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip" ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat" diff --git a/recipes-extended/libidn/libidn_0.6.14.bb b/recipes-extended/libidn/libidn_0.6.14.bb index c681560..dfd9c6e 100644 --- a/recipes-extended/libidn/libidn_0.6.14.bb +++ b/recipes-extended/libidn/libidn_0.6.14.bb @@ -16,7 +16,7 @@ SRC_URI = "http://alpha.gnu.org/gnu/libidn/${BPN}-${PV}.tar.gz" SRC_URI[md5sum] = "040f012a45feb56168853998bb87ad4d" SRC_URI[sha256sum] = "98910c2ad664bdf4eed2c2fff88e24f8882636ec9d26669366ff03b469c05ae3" -do_configure_prepend() { +do_configure:prepend() { # this version of libidn copies AC_USE_SYSTEM_EXTENSIONS from # autoconf CVS because atm the autoconf it uses is a bit old # now with cross autotool, that macro is already there and this @@ -27,7 +27,7 @@ do_configure_prepend() { rm -f ${S}/lib/gl/m4/extensions.m4 } -do_install_append() { +do_install:append() { rm -rf ${D}${libdir}/Libidn.dll rm -rf ${D}${datadir}/emacs } diff --git a/recipes-extended/mc/mc_4.7.5.2.bb b/recipes-extended/mc/mc_4.7.5.2.bb index 5f56641..2d30fe7 100644 --- a/recipes-extended/mc/mc_4.7.5.2.bb +++ b/recipes-extended/mc/mc_4.7.5.2.bb @@ -4,7 +4,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" SECTION = "console/utils" DEPENDS = "ncurses glib-2.0" -RDEPENDS_${PN} = "ncurses-terminfo" +RDEPENDS:${PN} = "ncurses-terminfo" PR = "r3" @@ -21,7 +21,7 @@ inherit autotools gettext pkgconfig EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x --without-samba" -do_install_append () { +do_install:append () { sed -i -e '1s,#!.*perl,#!${bindir}/env perl,' ${D}${libexecdir}/mc/extfs.d/* # These use python2 which is no longer supported rm ${D}${libexecdir}/mc/extfs.d/s3+ @@ -30,18 +30,18 @@ do_install_append () { PACKAGES =+ "${BPN}-helpers-perl ${BPN}-helpers ${BPN}-fish" -SUMMARY_${BPN}-helpers-perl = "Midnight Commander Perl-based helper scripts" -FILES_${BPN}-helpers-perl = "${libexecdir}/mc/extfs.d/a+ ${libexecdir}/mc/extfs.d/apt+ \ +SUMMARY:${BPN}-helpers-perl = "Midnight Commander Perl-based helper scripts" +FILES:${BPN}-helpers-perl = "${libexecdir}/mc/extfs.d/a+ ${libexecdir}/mc/extfs.d/apt+ \ ${libexecdir}/mc/extfs.d/deb ${libexecdir}/mc/extfs.d/deba \ ${libexecdir}/mc/extfs.d/debd ${libexecdir}/mc/extfs.d/dpkg+ \ ${libexecdir}/mc/extfs.d/mailfs ${libexecdir}/mc/extfs.d/patchfs \ ${libexecdir}/mc/extfs.d/rpms+ ${libexecdir}/mc/extfs.d/ulib \ ${libexecdir}/mc/extfs.d/uzip" -RDEPENDS_${BPN}-helpers-perl = "perl" +RDEPENDS:${BPN}-helpers-perl = "perl" -SUMMARY_${BPN}-helpers = "Midnight Commander shell helper scripts" -FILES_${BPN}-helpers = "${libexecdir}/mc/extfs.d/* ${libexecdir}/mc/ext.d/*" +SUMMARY:${BPN}-helpers = "Midnight Commander shell helper scripts" +FILES:${BPN}-helpers = "${libexecdir}/mc/extfs.d/* ${libexecdir}/mc/ext.d/*" -SUMMARY_${BPN}-fish = "Midnight Commander Fish scripts" -FILES_${BPN}-fish = "${libexecdir}/mc/fish" +SUMMARY:${BPN}-fish = "Midnight Commander Fish scripts" +FILES:${BPN}-fish = "${libexecdir}/mc/fish" diff --git a/recipes-extended/msmtp/msmtp_1.4.12.bb b/recipes-extended/msmtp/msmtp_1.4.12.bb index e03d432..21d9f81 100644 --- a/recipes-extended/msmtp/msmtp_1.4.12.bb +++ b/recipes-extended/msmtp/msmtp_1.4.12.bb @@ -24,12 +24,12 @@ PACKAGECONFIG[libidn] = "--with-libidn,--without-libidn,libidn" inherit gettext autotools update-alternatives -ALTERNATIVE_${PN} = "sendmail" +ALTERNATIVE:${PN} = "sendmail" ALTERNATIVE_TARGET[sendmail] = "${bindir}/msmtp" ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail" ALTERNATIVE_PRIORITY = "100" -pkg_postinst_${PN}_linuxstdbase () { +pkg_postinst:${PN}:linuxstdbase () { # /usr/lib/sendmail is required by LSB specification [ ! -L $D/usr/lib/sendmail ] && ln -sf ${sbindir}/sendmail $D/usr/lib } diff --git a/recipes-extended/sed/sed_4.1.2.bb b/recipes-extended/sed/sed_4.1.2.bb index 4a58442..24f479e 100644 --- a/recipes-extended/sed/sed_4.1.2.bb +++ b/recipes-extended/sed/sed_4.1.2.bb @@ -18,7 +18,7 @@ SRC_URI[sha256sum] = "638e837ba765d5da0a30c98b57c2953cecea96827882f594612acace93 inherit autotools texinfo update-alternatives gettext -do_configure_prepend () { +do_configure:prepend () { cp ${WORKDIR}/Makevars ${S}/po/ } @@ -31,7 +31,7 @@ do_install () { fi } -ALTERNATIVE_${PN} = "sed" +ALTERNATIVE:${PN} = "sed" ALTERNATIVE_LINK_NAME[sed] = "${base_bindir}/sed" ALTERNATIVE_PRIORITY = "100" diff --git a/recipes-extended/tar/tar.inc b/recipes-extended/tar/tar.inc index 93e4da1..e035fa6 100644 --- a/recipes-extended/tar/tar.inc +++ b/recipes-extended/tar/tar.inc @@ -21,7 +21,7 @@ do_install () { ln -s tar ${D}${bindir}/gtar } -do_install_append_class-target() { +do_install:append:class-target() { if [ "${base_bindir}" != "${bindir}" ]; then install -d ${D}${base_bindir} mv ${D}${bindir}/tar ${D}${base_bindir}/tar @@ -32,21 +32,21 @@ do_install_append_class-target() { PACKAGES =+ "${PN}-rmt" -FILES_${PN}-rmt = "${base_sbindir}/rmt*" +FILES:${PN}-rmt = "${base_sbindir}/rmt*" inherit update-alternatives ALTERNATIVE_PRIORITY = "100" -ALTERNATIVE_${PN} = "tar" -ALTERNATIVE_${PN}-rmt = "rmt" -ALTERNATIVE_${PN}_class-nativesdk = "" -ALTERNATIVE_${PN}-rmt_class-nativesdk = "" +ALTERNATIVE:${PN} = "tar" +ALTERNATIVE:${PN}-rmt = "rmt" +ALTERNATIVE:${PN}:class-nativesdk = "" +ALTERNATIVE:${PN}-rmt:class-nativesdk = "" ALTERNATIVE_LINK_NAME[tar] = "${base_bindir}/tar" ALTERNATIVE_LINK_NAME[rmt] = "${base_sbindir}/rmt" -PROVIDES_append_class-native = " tar-replacement-native" +PROVIDES:append:class-native = " tar-replacement-native" NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-extended/texinfo/texinfo_4.8.bb b/recipes-extended/texinfo/texinfo_4.8.bb index 13678e0..ea269cc 100644 --- a/recipes-extended/texinfo/texinfo_4.8.bb +++ b/recipes-extended/texinfo/texinfo_4.8.bb @@ -7,15 +7,15 @@ SECTION = "console/utils" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -PROVIDES_append_class-native = " texinfo-4.8-replacement-native" +PROVIDES:append:class-native = " texinfo-4.8-replacement-native" DEPENDS = "zlib ncurses texinfo-4.8-replacement-native" -DEPENDS_class-native = "zlib-native ncurses-native" +DEPENDS:class-native = "zlib-native ncurses-native" TARGET_PATCH = "file://use_host_makedoc.patch \ file://using-native-makeinfo.patch \ " -TARGET_PATCH_class-native = "" +TARGET_PATCH:class-native = "" SRC_URI = "${GNU_MIRROR}/texinfo/${BP}.tar.gz \ file://check-locale-h.patch \ @@ -30,25 +30,25 @@ tex_texinfo = "texmf/tex/texinfo" inherit gettext autotools -do_install_append() { +do_install:append() { mkdir -p ${D}${datadir}/${tex_texinfo} install -p -m644 ${S}/doc/texinfo.tex ${S}/doc/txi-??.tex ${D}${datadir}/${tex_texinfo} } -do_install_append_class-native() { +do_install:append:class-native() { install -m 755 info/makedoc ${D}${bindir} install -m 755 makeinfo/makeinfo ${D}${bindir} } PACKAGES += "info info-doc" -FILES_info = "${bindir}/info ${bindir}/infokey ${bindir}/install-info" -FILES_info-doc = "${infodir}/info.info ${infodir}/dir ${infodir}/info-*.info \ +FILES:info = "${bindir}/info ${bindir}/infokey ${bindir}/install-info" +FILES:info-doc = "${infodir}/info.info ${infodir}/dir ${infodir}/info-*.info \ ${mandir}/man1/info.1* ${mandir}/man5/info.5* \ ${mandir}/man1/infokey.1* ${mandir}/man1/install-info.1*" -FILES_${PN} = "${bindir}/makeinfo ${bindir}/texi* ${bindir}/pdftexi2dvi ${bindir}/pod2texi ${datadir}/texinfo" -FILES_${PN}-doc = "${infodir}/texinfo* \ +FILES:${PN} = "${bindir}/makeinfo ${bindir}/texi* ${bindir}/pdftexi2dvi ${bindir}/pod2texi ${datadir}/texinfo" +FILES:${PN}-doc = "${infodir}/texinfo* \ ${datadir}/${tex_texinfo} \ ${mandir}/man1 ${mandir}/man5" diff --git a/recipes-extended/time/time_1.7.bb b/recipes-extended/time/time_1.7.bb index e5713db..ccc7788 100644 --- a/recipes-extended/time/time_1.7.bb +++ b/recipes-extended/time/time_1.7.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" inherit texinfo update-alternatives -ALTERNATIVE_${PN} = "time" +ALTERNATIVE:${PN} = "time" ALTERNATIVE_PRIORITY = "100" BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-extended/which/which_2.18.bb b/recipes-extended/which/which_2.18.bb index eb6cc99..63b43c4 100644 --- a/recipes-extended/which/which_2.18.bb +++ b/recipes-extended/which/which_2.18.bb @@ -23,12 +23,12 @@ DEPENDS = "cwautomacros-native" inherit autotools texinfo update-alternatives -do_configure_prepend() { +do_configure:prepend() { OLD="@ACLOCAL_CWFLAGS@" NEW="-I ${STAGING_DIR_NATIVE}/${datadir}/cwautomacros/m4" sed -i "s#${OLD}#${NEW}#g" `grep -rl ${OLD} ${S}` } -ALTERNATIVE_${PN} = "which" +ALTERNATIVE:${PN} = "which" ALTERNATIVE_PRIORITY = "100" -- cgit v1.2.3-54-g00ecf