wok-6.x view gcc-lib-base/receipt @ rev 14051
catfish: fix build and force it to work with SliTaz
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Feb 19 17:14:33 2013 +0000 (2013-02-19) |
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 }