wok-6.x annotate uclibc-i486/receipt @ rev 23137
updated littlefs-fuse (1.2 -> 2.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 15 06:26:29 2020 +0100 (2020-03-15) |
parents | 6e9ee64dd747 |
children |
rev | line source |
---|---|
pascal@6099 | 1 # SliTaz package receipt. |
pascal@6099 | 2 |
pascal@6099 | 3 TARGET="i486" |
pascal@6099 | 4 PACKAGE="uclibc-$TARGET" |
pascal@6099 | 5 VERSION="prebuilt" |
pascal@6099 | 6 CATEGORY="base-system" |
pascal@6099 | 7 SHORT_DESC="UcLibc libraries." |
pascal@6099 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14781 | 9 LICENSE="LGPL" |
pascal@20672 | 10 WEB_SITE="https://web.archive.org/web/20101022004153/http://impactlinux.com/aboriginal" |
pascal@6099 | 11 WANTED="uclibc-cross-compiler-$TARGET" |
pascal@20297 | 12 COOKOPTS="!strip" |
pascal@6099 | 13 |
pascal@6099 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6099 | 15 genpkg_rules() |
pascal@6099 | 16 { |
pascal@6101 | 17 mkdir -p $fs/lib |
slaxemulator@8240 | 18 cp -a $src/lib/*.so* $fs/lib |
pascal@6099 | 19 } |
pascal@6101 | 20 |
pascal@11824 | 21 # Pre and post install commands for Tazpkg. |
pascal@11824 | 22 post_install() |
pascal@11824 | 23 { |
pascal@11826 | 24 echo chroot "$1/" /usr/bin/uclibc-${PACKAGE##*-}-ldconfig |
pascal@11824 | 25 } |
pascal@11824 | 26 |
pascal@11824 | 27 pre_remove() |
pascal@11824 | 28 { |
pascal@11824 | 29 for i in /lib/ld-uClibc.so*; do |
pascal@11824 | 30 case "$(readlink $i)" in |
pascal@11824 | 31 *usr/share/$PACKAGE/lib/*) rm -f $i ;; |
pascal@11824 | 32 esac |
pascal@11824 | 33 done |
pascal@11824 | 34 } |
pascal@11824 | 35 |
pascal@6101 | 36 TAZBB_NO_INSTALL="because this is not the right target !" |