wok-current view uclibc-i486/receipt @ rev 18649
Up links(2.12), nano(2.4.3), mc(tiny fix)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Nov 30 21:57:53 2015 +0100 (2015-11-30) |
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 !"