wok-6.x annotate gcc-lib-math/receipt @ rev 19397
Up brotli (0.5.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 13:32:28 2016 +0200 (2016-09-02) |
parents | |
children | c45e9f534acb |
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 |