wok-current rev 4372

alpine: link shared libs
author Paul Issott <paul@slitaz.org>
date Sun Oct 11 12:00:33 2009 +0000 (2009-10-11)
parents fd172e265d79
children af04cf41d5c9
files alpine/receipt
line diff
     1.1 --- a/alpine/receipt	Sun Oct 11 10:27:56 2009 +0000
     1.2 +++ b/alpine/receipt	Sun Oct 11 12:00:33 2009 +0000
     1.3 @@ -30,3 +30,20 @@
     1.4  	mkdir -p $fs/usr
     1.5  	cp -a $_pkg/usr/bin $fs/usr
     1.6  }
     1.7 +
     1.8 +post_install()
     1.9 +{
    1.10 +	# link old libldap libraries
    1.11 +	echo -n "Linking libraries..."
    1.12 +	cd $1/usr/lib
    1.13 +	ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0
    1.14 +	status
    1.15 +}
    1.16 +
    1.17 +post_remove()
    1.18 +{
    1.19 +	echo -n "Removing linked libraries..."
    1.20 +	rm -f /usr/lib/liblber-2.3.so.0
    1.21 +	status
    1.22 +}
    1.23 +