wok diff gcc-lib-math/receipt @ rev 18666

Up tazpkg (883)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 04 13:21:56 2015 +0100 (2015-12-04)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gcc-lib-math/receipt	Fri Dec 04 13:21:56 2015 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gcc-lib-math"
     1.7 +VERSION="4.6.3"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="GCC math libraries, libquadmath."
    1.10 +WEB_SITE="http://gcc.gnu.org/"
    1.11 +MAINTAINER="pankso@slitaz.org"
    1.12 +LICENSE="GPL2"
    1.13 +WANTED="gcc"
    1.14 +HOST_ARCH="i486 arm"
    1.15 +
    1.16 +# Handle multiarch compilation.
    1.17 +case "$ARCH" in
    1.18 +	arm) WANTED="" ;;
    1.19 +esac
    1.20 +
    1.21 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.22 +genpkg_rules()
    1.23 +{
    1.24 +	mkdir -p $fs/usr/lib
    1.25 +	case "$ARCH" in
    1.26 +		arm) libdir=$CROSS_TREE/tools/arm-slitaz-linux-gnueabi/lib ;;
    1.27 +		i?86) libdir=$install/usr/lib ;;
    1.28 +	esac
    1.29 +	cp -a $libdir/libquadmath.so* $fs/usr/lib
    1.30 +}
    1.31 +