1 |
On Feb 16, 2006, at 11:19 AM, Kito wrote: |
2 |
|
3 |
> |
4 |
> On Feb 14, 2006, at 9:53 PM, Nick Dimiduk wrote: |
5 |
> |
6 |
>> |
7 |
>> local fw = "${PN}.framework" |
8 |
>> |
9 |
>> # install_framework: install a framework into the appropriate |
10 |
>> directory. |
11 |
>> # usage: install_framework file [<new file>] |
12 |
>> # ie. install_framework "${PN}.framework" |
13 |
>> install_framework() { |
14 |
>> [[ -z "${1}" ]] && die "usage: install_framework <file> [<new |
15 |
>> file>]" |
16 |
>> if useq ppc-macos ; then |
17 |
>> insinto /Library/Frameworks |
18 |
>> newins "$1" "${2:-${1}}" || die "Failed to install ${1}" |
19 |
>> fi |
20 |
>> } |
21 |
> |
22 |
> This wouldn't work as it isn't respecting ${D}. You want to have |
23 |
> the package install itself to ${D} and let portage handle touching |
24 |
> the live fs. |
25 |
> |
26 |
|
27 |
Err, I suppose I should read before typing :/ insinto obviously |
28 |
handles ${D} transparently. I motion that this statement be struck |
29 |
from the record. |
30 |
|
31 |
--Kito |
32 |
-- |
33 |
gentoo-osx@g.o mailing list |