wok annotate gcc-lib-base/receipt @ rev 19599

Up: pyopenssl (16.2.0)
author Alexander Medvedev <devl547@gmail.com>
date Sun Jan 01 18:09:26 2017 +0000 (2017-01-01)
parents 380ffe05937a
children
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"
pascal@15201 9 LICENSE="GPL2"
pankso@8 10 WANTED="gcc"
pankso@12838 11 HOST_ARCH="i486 arm"
pankso@12838 12
pankso@12838 13 # Handle multiarch compilation.
pankso@12838 14 case "$ARCH" in
pankso@12838 15 arm) WANTED="" ;;
pankso@12838 16 esac
pankso@8 17
pankso@8 18 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@8 19 genpkg_rules()
pankso@8 20 {
pankso@10121 21 mkdir -p $fs/usr/lib
pankso@12838 22 case "$ARCH" in
pankso@12918 23 arm) libdir=$CROSS_TREE/tools/arm-slitaz-linux-gnueabi/lib ;;
pankso@12838 24 i?86) libdir=$install/usr/lib ;;
pankso@12838 25 esac
pankso@12838 26 cp -a $libdir/libgcc_s.so* $fs/usr/lib
pankso@12838 27 cp -a $libdir/libstdc++.so* $fs/usr/lib
pankso@12838 28 rm -f $fs/usr/lib/*-gdb.py
pankso@8 29 }
pankso@8 30