wok-current annotate gcc-lib-math/receipt @ rev 20045

Improvements
author Leonardo Laporte <hackdorte@yandex.com>
date Thu Aug 31 04:02:39 2017 -0300 (2017-08-31)
parents
children 7d24d697015f
rev   line source
pascal@17976 1 # SliTaz package receipt.
pascal@17976 2
pascal@17976 3 PACKAGE="gcc-lib-math"
pascal@17976 4 VERSION="4.6.3"
pascal@17976 5 CATEGORY="development"
pascal@17976 6 SHORT_DESC="GCC math libraries, libquadmath."
pascal@17976 7 WEB_SITE="http://gcc.gnu.org/"
pascal@17976 8 MAINTAINER="pankso@slitaz.org"
pascal@17976 9 LICENSE="GPL2"
pascal@17976 10 WANTED="gcc"
pascal@17976 11 HOST_ARCH="i486 arm"
pascal@17976 12
pascal@17976 13 # Handle multiarch compilation.
pascal@17976 14 case "$ARCH" in
pascal@17976 15 arm) WANTED="" ;;
pascal@17976 16 esac
pascal@17976 17
pascal@17976 18 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17976 19 genpkg_rules()
pascal@17976 20 {
pascal@17976 21 mkdir -p $fs/usr/lib
pascal@17976 22 case "$ARCH" in
pascal@17976 23 arm) libdir=$CROSS_TREE/tools/arm-slitaz-linux-gnueabi/lib ;;
pascal@17976 24 i?86) libdir=$install/usr/lib ;;
pascal@17976 25 esac
pascal@17976 26 cp -a $libdir/libquadmath.so* $fs/usr/lib
pascal@17976 27 }
pascal@17976 28