wok-current annotate gcc-lib-math/receipt @ rev 19542
Build *.pc files for ncurses(w)-dev; rebuild sc-im with ncursesw.pc
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 05 15:16:10 2016 +0200 (2016-12-05) |
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 |