Magellan Linux

Contents of /branches/R11-unstable/include/yasm.sminc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24893 - (show annotations) (download)
Tue Nov 25 02:21:44 2014 UTC (9 years, 5 months ago) by niro
File size: 580 byte(s)
-release R11-unstable
1 # $Id$
2
3 SDEPEND="${SDEPEND}
4 >= dev-lang/yasm-1.3"
5
6 # multilib honor mechanizm
7 mget-yasm-arch-tuple()
8 {
9 case ${ARCH} in
10 i*86) echo "x86-linux-gcc" ;;
11 x86_64)
12 if [[ ${MULTILIB_BUILD} = true ]]
13 then
14 case ${ABI} in
15 m32) echo "x86-linux-gcc" ;;
16 m64) echo "x86_64-linux-gcc" ;;
17 esac
18 else
19 echo "x86_64-linux-gcc"
20 fi
21 ;;
22 esac
23 }
24
25 # deprecated and will be dropped in near future
26 yasm_arch_tuple()
27 {
28 echo -e "${COLYELLOW}Warning: yasm_arch_tuple() is depcrecated, please use mget-yasm-arch-tuple() instead${COLDEFAULT}" >&2
29 mget-yasm-arch-tuple
30 }