Commit 76076756 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated attr to 2.4.48

parent 789cd029
all:
tar xf attr-2.4.47.src.tar.gz
cd attr-2.4.47 && sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in
cd attr-2.4.47 && sed -i -e "/SUBDIRS/s|man[25]||g" man/Makefile
cd attr-2.4.47 && sed -i 's:{(:\\{(:' test/run
cd attr-2.4.47 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --disable-static
$(MAKE) -C attr-2.4.47
tar xf attr-2.4.48.tar.gz
cd attr-2.4.48 && sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in
cd attr-2.4.48 && sed -i -e "/SUBDIRS/s|man[25]||g" man/Makefile
cd attr-2.4.48 && sed -i 's:{(:\\{(:' test/run
cd attr-2.4.48 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --disable-static
$(MAKE) -C attr-2.4.48
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
$(MAKE) -C attr-2.4.47 -j1 tests root-tests ; \
$(MAKE) -C attr-2.4.48 -j1 tests root-tests ; \
fi
$(MAKE) -C attr-2.4.47 install install-dev install-lib
$(MAKE) -C attr-2.4.48 install install-dev install-lib
mv -v /usr/lib/libattr.so.* /lib
ln -sfv ../../lib/$$(readlink /usr/lib/libattr.so) /usr/lib/libattr.so
chmod 755 -v /lib/libattr.so.1.1.0
rm -rf attr-2.4.47
rm -rf attr-2.4.48
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