wok-current rev 20511

fix acl
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 31 15:45:41 2018 +0100 (2018-10-31)
parents a5b6457fb890
children a8b43c8ec993
files acl/receipt
line diff
     1.1 --- a/acl/receipt	Wed Oct 31 15:13:42 2018 +0100
     1.2 +++ b/acl/receipt	Wed Oct 31 15:45:41 2018 +0100
     1.3 @@ -36,15 +36,12 @@
     1.4  			$CONFIGURE_ARGS &&
     1.5  		make &&
     1.6  		DIST_ROOT=$DESTDIR \
     1.7 -		make install install-lib install-dev
     1.8 +		make install install-dev
     1.9  	} || {
    1.10  		mv -f /bin/sh.bak /bin/sh; return 1
    1.11  	}
    1.12  
    1.13  	mv -f /bin/sh.bak /bin/sh
    1.14 -	# .so and .la files must be executable
    1.15 -	find $install -type f -name '*.[sl][oa]*' -exec chmod a+x \{\} \;
    1.16 -	sed -i "s|libdir='/lib'|libdir='/usr/lib'|" $install/usr/lib/libacl.la
    1.17  }
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 @@ -52,6 +49,6 @@
    1.21  {
    1.22  	mkdir -p $fs/lib $fs/usr/lib
    1.23  	cp -a $install/lib/*.so* $fs/lib
    1.24 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.25 +	ln -s /lib/libacl.so $fs/usr/lib/libacl.so
    1.26  	cp -a $install/usr/bin $fs/usr
    1.27  }