On Feb 16, 2006, at 11:19 AM, Kito wrote:


On Feb 14, 2006, at 9:53 PM, Nick Dimiduk wrote:


local fw = "${PN}.framework"

# install_framework: install a framework into the appropriate directory.
# usage: install_framework file [<new file>]
# ie. install_framework "${PN}.framework"
install_framework() {
[[ -z "${1}" ]] && die "usage: install_framework <file> [<new file>]"
        if useq ppc-macos ; then
                insinto /Library/Frameworks
                newins "$1" "${2:-${1}}" || die "Failed to install ${1}"
        fi
}

This wouldn't work as it isn't respecting ${D}. You want to have the package install itself to ${D} and let portage handle touching the live fs.


Err, I suppose I should read before typing :/ insinto obviously handles ${D} transparently. I motion that this statement be struck from the record.

--Kito
--
[email protected] mailing list

Reply via email to