# HG changeset patch # User Pascal Bellard # Date 1330289145 -3600 # Node ID 4d1b6826f4c642885eb4d7ee936f52608ff45312 # Parent 04c86a61ddf9b8633230bce00b2e05121ef8f6d4 uclibc-i486: add post_install diff -r 04c86a61ddf9 -r 4d1b6826f4c6 uclibc-cross-compiler-i486/receipt --- a/uclibc-cross-compiler-i486/receipt Sun Feb 26 20:56:00 2012 +0100 +++ b/uclibc-cross-compiler-i486/receipt Sun Feb 26 21:45:45 2012 +0100 @@ -20,18 +20,3 @@ ln -s ../share/$PACKAGE/bin/$file $fs/usr/bin/uclibc-$file done } - -# Pre and post install commands for Tazpkg. -post_install() -{ - chroot "$1/" /usr/bin/uclibc-${PACKAGE##*-}-ldconfig -} - -pre_remove() -{ - for i in /lib/ld-uClibc.so*; do - case "$(readlink $i)" in - *usr/share/$PACKAGE/lib/*) rm -f $i ;; - esac - done -} diff -r 04c86a61ddf9 -r 4d1b6826f4c6 uclibc-i486/receipt --- a/uclibc-i486/receipt Sun Feb 26 20:56:00 2012 +0100 +++ b/uclibc-i486/receipt Sun Feb 26 21:45:45 2012 +0100 @@ -16,4 +16,19 @@ cp -a $src/lib/*.so* $fs/lib } +# Pre and post install commands for Tazpkg. +post_install() +{ + chroot "$1/" /usr/bin/uclibc-${PACKAGE##*-}-ldconfig +} + +pre_remove() +{ + for i in /lib/ld-uClibc.so*; do + case "$(readlink $i)" in + *usr/share/$PACKAGE/lib/*) rm -f $i ;; + esac + done +} + TAZBB_NO_INSTALL="because this is not the right target !"