wok view uclibc-i486/receipt @ rev 11929
Merge
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Mar 01 01:01:33 2012 +0100 (2012-03-01) |
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 !"