wok-next view gcc-lib-base/receipt @ rev 19588
Update all the SliTaz projects (hosted on hg.slitaz.org).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 21 11:18:06 2017 +0200 (2017-01-21) |
parents | f4c22f009037 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gcc-lib-base"
4 VERSION="6.2.0"
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 HOST_ARCH="i486 arm"
12 WANTED="gcc"
14 # Handle multiarch compilation.
15 case "$ARCH" in
16 arm) WANTED="" ;;
17 esac
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/lib
23 case "$ARCH" in
24 arm) libdir=$CROSS_TREE/tools/arm-slitaz-linux-gnueabi/lib ;;
25 i?86) libdir=$install/usr/lib ;;
26 esac
27 cp -a $libdir/libgcc_s.so* $fs/usr/lib
28 cp -a $libdir/libstdc++.so* $fs/usr/lib
29 rm -f $fs/usr/lib/*-gdb.py
30 }