wok-next view uclibc-i486/receipt @ rev 14608
Up: alsa-utils to 1.0.27.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 31 20:18:29 2013 +0000 (2013-05-31) |
parents | 4d1b6826f4c6 |
children | a436a235f098 |
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 WEB_SITE="http://impactlinux.com/aboriginal"
10 WANTED="uclibc-cross-compiler-$TARGET"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/lib
16 cp -a $src/lib/*.so* $fs/lib
17 }
19 # Pre and post install commands for Tazpkg.
20 post_install()
21 {
22 echo chroot "$1/" /usr/bin/uclibc-${PACKAGE##*-}-ldconfig
23 }
25 pre_remove()
26 {
27 for i in /lib/ld-uClibc.so*; do
28 case "$(readlink $i)" in
29 *usr/share/$PACKAGE/lib/*) rm -f $i ;;
30 esac
31 done
32 }
34 TAZBB_NO_INSTALL="because this is not the right target !"