wok-next view uclibc-i486/receipt @ rev 17680

Rollback socat
author Yuri Pourre <yuripourre@gmail.com>
date Thu Feb 19 12:49:41 2015 -0200 (2015-02-19)
parents 4c1ff277a32e
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="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 !"