wok-next view gcc-lib-base/receipt @ rev 15401
Up: lvm2 (2.02.98)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat Nov 02 21:26:53 2013 +0100 (2013-11-02) |
parents | 380ffe05937a |
children | c963361d3d54 |
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 }