wok-next annotate gcc-lib-base/receipt @ rev 13853
Trigger a nettle update
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Jan 10 01:58:37 2013 +0300 (2013-01-10) |
parents | 78ea2beafc03 |
children | 380ffe05937a |
rev | line source |
---|---|
pankso@8 | 1 # SliTaz package receipt. |
pankso@8 | 2 |
pankso@8 | 3 PACKAGE="gcc-lib-base" |
pankso@12541 | 4 VERSION="4.6.3" |
pankso@210 | 5 CATEGORY="development" |
pankso@8 | 6 SHORT_DESC="GCC base libraries, libgcc_s and libstdc++." |
pascal@1064 | 7 WEB_SITE="http://gcc.gnu.org/" |
pankso@8 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@8 | 9 WANTED="gcc" |
pankso@12838 | 10 HOST_ARCH="i486 arm" |
pankso@12838 | 11 |
pankso@12838 | 12 # Handle multiarch compilation. |
pankso@12838 | 13 case "$ARCH" in |
pankso@12838 | 14 arm) WANTED="" ;; |
pankso@12838 | 15 esac |
pankso@8 | 16 |
pankso@8 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 18 genpkg_rules() |
pankso@8 | 19 { |
pankso@10121 | 20 mkdir -p $fs/usr/lib |
pankso@12838 | 21 case "$ARCH" in |
pankso@12918 | 22 arm) libdir=$CROSS_TREE/tools/arm-slitaz-linux-gnueabi/lib ;; |
pankso@12838 | 23 i?86) libdir=$install/usr/lib ;; |
pankso@12838 | 24 esac |
pankso@12838 | 25 cp -a $libdir/libgcc_s.so* $fs/usr/lib |
pankso@12838 | 26 cp -a $libdir/libstdc++.so* $fs/usr/lib |
pankso@12838 | 27 rm -f $fs/usr/lib/*-gdb.py |
pankso@8 | 28 } |
pankso@8 | 29 |