From: | "Petteri Räty" <betelgeuse@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] allowed in SRC_URI? | ||
Date: | Fri, 26 Oct 2007 11:53:36 | ||
Message-Id: | 4721D49E.20303@gentoo.org | ||
In Reply to: | [gentoo-dev] allowed in SRC_URI? by "Marijn Schouten (hkBst)" |
1 | Marijn Schouten (hkBst) kirjoitti: |
2 | > Is the following syntax for SRC_URI allowed: |
3 | > |
4 | > |
5 | > mips? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPS}-$([[$(tc-endian) = big]] && |
6 | > echo mips || echo mipsel)-linux-binary.tar.bz2 ) |
7 | > |
8 | |
9 | Nope as implied in IRC. |
10 | |
11 | > tc-endian() { |
12 | > local host=$1 |
13 | > [[ -z ${host} ]] && host=${CTARGET:-${CHOST}} |
14 | > host=${host%%-*} |
15 | > |
16 | |
17 | This is the reason. |
18 | |
19 | Regards, |
20 | Petteri |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |