wok view uclibc-i486/receipt @ rev 17602

appdata-tools: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 12 11:09:07 2015 +0100 (2015-02-12)
parents 4c1ff277a32e
children 6e9ee64dd747
line source
1 # SliTaz package receipt.
3 TARGET="i486"
4 PACKAGE="uclibc-$TARGET"
5 VERSION="prebuilt"
6 CATEGORY="base-system"
7 SHORT_DESC="UcLibc libraries."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL"
10 WEB_SITE="http://impactlinux.com/aboriginal"
11 WANTED="uclibc-cross-compiler-$TARGET"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/lib
17 cp -a $src/lib/*.so* $fs/lib
18 }
20 # Pre and post install commands for Tazpkg.
21 post_install()
22 {
23 echo chroot "$1/" /usr/bin/uclibc-${PACKAGE##*-}-ldconfig
24 }
26 pre_remove()
27 {
28 for i in /lib/ld-uClibc.so*; do
29 case "$(readlink $i)" in
30 *usr/share/$PACKAGE/lib/*) rm -f $i ;;
31 esac
32 done
33 }
35 TAZBB_NO_INSTALL="because this is not the right target !"