wok-current view gcc-lib-base/receipt @ rev 24992

Up sip (4.19.25)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 14 18:19:29 2022 +0000 (2022-05-14)
parents 380ffe05937a
children 7d24d697015f
line source
1 # SliTaz package receipt.
3 PACKAGE="gcc-lib-base"
4 VERSION="4.6.3"
5 CATEGORY="development"
6 SHORT_DESC="GCC base libraries, libgcc_s and libstdc++."
7 WEB_SITE="http://gcc.gnu.org/"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WANTED="gcc"
11 HOST_ARCH="i486 arm"
13 # Handle multiarch compilation.
14 case "$ARCH" in
15 arm) WANTED="" ;;
16 esac
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/usr/lib
22 case "$ARCH" in
23 arm) libdir=$CROSS_TREE/tools/arm-slitaz-linux-gnueabi/lib ;;
24 i?86) libdir=$install/usr/lib ;;
25 esac
26 cp -a $libdir/libgcc_s.so* $fs/usr/lib
27 cp -a $libdir/libstdc++.so* $fs/usr/lib
28 rm -f $fs/usr/lib/*-gdb.py
29 }