# SliTaz package receipt. TARGET="i486" PACKAGE="uclibc-$TARGET" VERSION="prebuilt" CATEGORY="base-system" SHORT_DESC="UcLibc libraries." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL" WEB_SITE="https://web.archive.org/web/20101022004153/http://impactlinux.com/aboriginal" WANTED="uclibc-cross-compiler-$TARGET" COOKOPTS="!strip" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/lib cp -a $src/lib/*.so* $fs/lib } # Pre and post install commands for Tazpkg. post_install() { echo 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 !"