glibc32: install gconv stuff into /usr/lib32.

--HG--
extra : convert_revision : f8c122c59f167500fd4511526351ad1cb0dcb812
This commit is contained in:
Juan RP 2008-11-03 08:18:52 +01:00
parent cb099eba8c
commit ebb7cc3fcd

View File

@ -63,13 +63,14 @@ post_install()
rm -rf $destdir/include
mkdir -p $destdir/usr/include
mkdir -p $destdir/usr/lib32/gconv
mv -v $tmpdir/usr/include/* $destdir/usr/include
# Remove bins and unneeded stuff for compat32.
[ -d $destdir/xbps_destdir ] && rm -rf $destdir/xbps_destdir
rm -rf $destdir/sbin $destdir/bin $destdir/usr/sbin $destdir/usr/bin
rm -rf $destdir/share $destdir/libexec $destdir/etc
mv -v $destdir/lib/gconv $destdir/usr/lib32
mv -v $destdir/lib/gconv/* $destdir/usr/lib32/gconv
# Remove wrong symlinks in shared libs and move them to /lib32.
find $destdir/lib -type l -print|xargs rm -v