wok-current view gcc-lib-base/receipt @ rev 12918
gcc-lib-base: use new cross tools
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 29 19:44:19 2012 +0000 (2012-05-29) |
parents | 78ea2beafc03 |
children | 380ffe05937a |
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 WANTED="gcc"
10 HOST_ARCH="i486 arm"
12 # Handle multiarch compilation.
13 case "$ARCH" in
14 arm) WANTED="" ;;
15 esac
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/lib
21 case "$ARCH" in
22 arm) libdir=$CROSS_TREE/tools/arm-slitaz-linux-gnueabi/lib ;;
23 i?86) libdir=$install/usr/lib ;;
24 esac
25 cp -a $libdir/libgcc_s.so* $fs/usr/lib
26 cp -a $libdir/libstdc++.so* $fs/usr/lib
27 rm -f $fs/usr/lib/*-gdb.py
28 }