|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../nspr/nspr.conf |
|
|
|
|
# Copyright (C) 2007 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2007 - 2011 The OpenSDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
|
# |
|
|
|
@ -26,14 +26,19 @@ nspr_install() {
|
|
|
|
|
echo "cleaning before the real installation ..." |
|
|
|
|
rm -rvf dist/include/nspr/md dist/bin/*.so |
|
|
|
|
|
|
|
|
|
for x in dist/lib/*.so; do |
|
|
|
|
mv -v "$x" "$x.$minor" |
|
|
|
|
# create a 'dist/lib-final' where we copy the whole symlinked |
|
|
|
|
# stuff from 'dist/lib' using --dereference to get the real file |
|
|
|
|
mkdir -p dist/lib-final |
|
|
|
|
cp -av --dereference dist/lib/* dist/lib-final/ |
|
|
|
|
|
|
|
|
|
for x in dist/lib-final/*.so; do |
|
|
|
|
mv -fv "$x" "$x.$minor" |
|
|
|
|
chmod +x "$x.$minor" |
|
|
|
|
ln -svnf "${x##*/}.$minor" "$x" |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
echo "installing ..." |
|
|
|
|
cp -avf dist/lib/* $root$libdir/ |
|
|
|
|
cp -avf dist/lib-final/* $root$libdir/ |
|
|
|
|
rm -rf $root$includedir/nspr/ |
|
|
|
|
cp -av dist/include/nspr $root$includedir/ |
|
|
|
|
} |
|
|
|
|