diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/findutils/findutils-native_4.4.bb | 9 | ||||
-rw-r--r-- | packages/findutils/findutils_4.4.bb | 13 |
2 files changed, 22 insertions, 0 deletions
diff --git a/packages/findutils/findutils-native_4.4.bb b/packages/findutils/findutils-native_4.4.bb new file mode 100644 index 0000000000..1a7b1fe4a8 --- /dev/null +++ b/packages/findutils/findutils-native_4.4.bb @@ -0,0 +1,9 @@ +require findutils.inc + +inherit native + +DEFAULT_PREFERENCE = "-1" + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/findutils-${PV}" + +S = "${WORKDIR}/findutils-${PV}" diff --git a/packages/findutils/findutils_4.4.bb b/packages/findutils/findutils_4.4.bb new file mode 100644 index 0000000000..844f206460 --- /dev/null +++ b/packages/findutils/findutils_4.4.bb @@ -0,0 +1,13 @@ +require findutils.inc + +DEFAULT_PREFERENCE = "-1" + +EXTRA_OECONF += " ac_cv_path_SORT=/usr/bin/sort " + +pkg_postinst_${PN} () { + for i in find xargs; do update-alternatives --install ${bindir}/$i $i $i.${PN} 100; done +} + +pkg_prerm_${PN} () { + for i in find xargs; do update-alternatives --remove $i $i.${PN}; done +} |