diff options
author | woglinde <heinold@inf.fu-berlin.de> | 2008-11-01 22:14:40 +0100 |
---|---|---|
committer | woglinde <heinold@inf.fu-berlin.de> | 2008-11-01 22:14:40 +0100 |
commit | a162fd85ae232c2211e5cad12dfb435a7e04c848 (patch) | |
tree | bf214eea2f79e7df1b0e85f80180cff1a5737017 /packages | |
parent | 7806a7f622a7d318986ce61e512002441551d961 (diff) |
findutils: update to latest version 4.4, but not enabled yet
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 +} |