wok view gcc-lib-math/receipt @ rev 22102

Add python-attr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 01 15:22:59 2019 +0100 (2019-11-01)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gcc-lib-math"
4 VERSION="4.6.3"
5 CATEGORY="development"
6 SHORT_DESC="GCC math libraries, libquadmath."
7 WEB_SITE="http://gcc.gnu.org/"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="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/libquadmath.so* $fs/usr/lib
27 }