# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/eselect-boost-0.4.ebuild,v 1.2 2012/04/28 03:24:32 aballier Exp $ inherit multilib DESCRIPTION="boost module for eselect" HOMEPAGE="http://www.gentoo.org/proj/en/eselect/" SRC_URI="" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" IUSE="" DEPEND="" RDEPEND=">=app-admin/eselect-1.0.5" src_install() { local mdir="/usr/share/eselect/modules" dodir ${mdir} sed -e "s|%LIBDIR%|$(get_libdir)|g" "${FILESDIR}/boost.eselect-${PVR}" > "${D}${mdir}/boost.eselect" || die "failed to install" keepdir /etc/eselect/boost keepdir /usr/share/boost-eselect/profiles }