wok diff gcc-lib-math/receipt @ rev 19401
memtest: DOS shutdown (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 13:03:50 2016 +0200 (2016-09-03) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gcc-lib-math/receipt Sat Sep 03 13:03:50 2016 +0200 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 +