wok view uclibc-i486/receipt @ rev 20617
Update granite
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 25 17:06:17 2018 +0100 (2018-12-25) |
parents | a436a235f098 |
children | 8dd8bab3f0ca |
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"
12 COOKOPTS="!strip"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/lib
18 cp -a $src/lib/*.so* $fs/lib
19 }
21 # Pre and post install commands for Tazpkg.
22 post_install()
23 {
24 echo chroot "$1/" /usr/bin/uclibc-${PACKAGE##*-}-ldconfig
25 }
27 pre_remove()
28 {
29 for i in /lib/ld-uClibc.so*; do
30 case "$(readlink $i)" in
31 *usr/share/$PACKAGE/lib/*) rm -f $i ;;
32 esac
33 done
34 }
36 TAZBB_NO_INSTALL="because this is not the right target !"