wok view gcc-lib-base/receipt @ rev 16167
ARM: improve slitaz-configs*
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 29 13:56:21 2014 +0100 (2014-03-29) |
parents | 380ffe05937a |
children |
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 }