Commit 115da383 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Upgraded findutils to 4.8.0

parent 3b781f20
all: all:
tar xf findutils-4.7.0.tar.xz tar xf findutils-4.8.0.tar.xz
cd findutils-4.7.0 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --localstatedir=/var/lib/locate cd findutils-4.8.0 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --localstatedir=/var/lib/locate
$(MAKE) -C findutils-4.7.0 $(MAKE) -C findutils-4.8.0
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \ if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
cd findutils-4.7.0 ; \ cd findutils-4.8.0 ; \
chown -Rv nobody . ; \ chown -Rv nobody . ; \
su nobody -s /bin/bash -c "PATH=$$PATH make check" ; \ su nobody -s /bin/bash -c "PATH=$$PATH make check" ; \
fi fi
$(MAKE) -C findutils-4.7.0 install $(MAKE) -C findutils-4.8.0 install
mv -v /usr/bin/find /bin mv -v /usr/bin/find /bin
cd findutils-4.7.0 && sed -i 's|find:=$${BINDIR}|find:=/bin|' /usr/bin/updatedb cd findutils-4.8.0 && sed -i 's|find:=$${BINDIR}|find:=/bin|' /usr/bin/updatedb
rm -rf findutils-4.7.0 rm -rf findutils-4.8.0
<project name="findutils"> <project name="findutils">
<target name="temporary-findutils"> <target name="temporary-findutils">
<property name="makedir" value="${builddir}/findutils-4.7.0"/> <property name="makedir" value="${builddir}/findutils-4.8.0"/>
<exec executable="tar" failonerror="true"> <exec executable="tar" failonerror="true">
<arg line="xf packages/findutils/findutils-4.7.0.tar.xz -C ${builddir}"/> <arg line="xf packages/findutils/findutils-4.8.0.tar.xz -C ${builddir}"/>
</exec> </exec>
<exec executable="./configure" dir="${makedir}" failonerror="true"> <exec executable="./configure" dir="${makedir}" failonerror="true">
<env key="PATH" path="${PATH}"/> <env key="PATH" path="${PATH}"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment