wok view uclibc-i486/receipt @ rev 25545
Add pom1
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 15 16:15:09 2023 +0000 (20 months ago) |
parents | 6e9ee64dd747 |
children |
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="https://web.archive.org/web/20101022004153/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 !"