wok view gcc-lib-base/receipt @ rev 15000

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:00:38 2013 +0000 (2013-08-10)
parents 2d5870f28729
children f4c22f009037
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 LICENCE="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 }