Commit bdc63422 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Fixed compilation, installation and testing

parent d056d314
all: all:
tar xf acl-2.2.53.tar.gz tar xf acl-2.2.53.tar.gz
cd acl-2.2.53 && sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in cd acl-2.2.53 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --bindir=/bin --disable-static --libexecdir=/usr/lib --docdir=/usr/share/doc/acl-2.2.53
cd acl-2.2.53 && sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test
cd acl-2.2.53 && sed -i 's/{(/\\{(/' test/run
cd acl-2.2.53 && sed -i -e "/TABS-1;/a if (x > (TABS-1)) x = (TABS-1);" libacl/__acl_to_any_text.c
cd acl-2.2.53 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --disable-static --libexecdir=/usr/lib
$(MAKE) -C acl-2.2.53 $(MAKE) -C acl-2.2.53
$(MAKE) -C acl-2.2.53 install install-dev install-lib $(MAKE) -C acl-2.2.53 install
mv -v /usr/lib/libacl.so.* /lib mv -v /usr/lib/libacl.so.* /lib
ln -sfv /lib/libacl.so.1 /usr/lib/libacl.so ln -sfv ../../lib/$$(readlink /usr/lib/libacl.so) /usr/lib/libacl.so
chmod 755 -v /lib/libacl.so.1.1.0
tests: tests:
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \ if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
$(MAKE) -C acl-2.2.53 tests ; \ $(MAKE) -C acl-2.2.53 check ; \
fi fi
rm -rf acl-2.2.53 rm -rf acl-2.2.53
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