Gentoo Archives: gentoo-osx

From: Kito <kito@g.o>
To: gentoo-osx@l.g.o
Subject: Re: [gentoo-osx] Gentoo-OSX and Mac system / frameworks
Date: Thu, 16 Feb 2006 17:25:31
Message-Id: 3136C673-F902-44B9-B19F-7F22718F43C9@gentoo.org
In Reply to: Re: [gentoo-osx] Gentoo-OSX and Mac system / frameworks by Kito
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