# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit multilib DESCRIPTION="Test case for portage lib issue" HOMEPAGE="www.gentoo.org" SRC_URI="" LICENSE="as-is" SLOT="0" KEYWORDS="amd64" IUSE="" DEPEND="" RDEPEND="" src_unpack() { mkdir "${S}" } src_compile() { cd ${S} mkdir -p lib/foo/ echo "emerge -C foo" > lib/foo/test.lib.so } src_install() { mkdir -p "${D}"/lib/foo/ cp lib/foo/test.lib.so "${D}"/lib/foo/ }