wok annotate uclibc-i486/receipt @ rev 19126
Fill "customization" category in.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 09 21:59:10 2016 +0300 (2016-05-09) |
parents | 4c1ff277a32e |
children | 6e9ee64dd747 |
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@6099 | 10 WEB_SITE="http://impactlinux.com/aboriginal" |
pascal@6099 | 11 WANTED="uclibc-cross-compiler-$TARGET" |
pascal@6099 | 12 |
pascal@6099 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6099 | 14 genpkg_rules() |
pascal@6099 | 15 { |
pascal@6101 | 16 mkdir -p $fs/lib |
slaxemulator@8240 | 17 cp -a $src/lib/*.so* $fs/lib |
pascal@6099 | 18 } |
pascal@6101 | 19 |
pascal@11824 | 20 # Pre and post install commands for Tazpkg. |
pascal@11824 | 21 post_install() |
pascal@11824 | 22 { |
pascal@11826 | 23 echo chroot "$1/" /usr/bin/uclibc-${PACKAGE##*-}-ldconfig |
pascal@11824 | 24 } |
pascal@11824 | 25 |
pascal@11824 | 26 pre_remove() |
pascal@11824 | 27 { |
pascal@11824 | 28 for i in /lib/ld-uClibc.so*; do |
pascal@11824 | 29 case "$(readlink $i)" in |
pascal@11824 | 30 *usr/share/$PACKAGE/lib/*) rm -f $i ;; |
pascal@11824 | 31 esac |
pascal@11824 | 32 done |
pascal@11824 | 33 } |
pascal@11824 | 34 |
pascal@6101 | 35 TAZBB_NO_INSTALL="because this is not the right target !" |