# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ #vapier Exp $ inherit eutils DESCRIPTION="Edox:The Enlightenment online help" HOMEPAGE="http://www.enlightenment.org/" SRC_URI="http://heanet.dl.sourceforge.net/sourceforge/enlightenment/edox-data-0.16.7-0.02.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=enlightenment-0.16.7_pre1" S=${WORKDIR}/edox-data-${PV} src_unpack() { unpack ${A} cd ${S} } src_compile() { # econf \ --enable-fsstd \ --prefix=/usr/share \ || die #enlightenment's makefile uses the $USER env var (bad), which may not be #set correctly if you did a "su" to get root before emerging. Normally, #your $USER will still exist when you su (unless you enter a chroot,) but #will cause perms to be wrong. This fixes this: export USER=root emake || die } src_install() { export USER=root make install DESTDIR=${D} || die }