# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/app-text/acroread/acroread-5.08.ebuild,v 1.5 2003/10/07 20:44:25 johnm Exp $ inherit eutils # Required Variables SLOT="0" LICENSE="cadsoft" KEYWORDS="x86" DESCRIPTION="EAGLE Layout Editor" SRC_URI="ftp://ftp.cadsoft.de/pub/program/4.11/${P}.tgz" HOMEPAGE="http://www.cadsoft.de" RDEPEND="virtual/glibc x11-base/xfree" INSTALLDIR="/opt/eagle" src_install() { dodir ${INSTALLDIR} cp -r ${WORKDIR}/eagle-4.11/* ${D}${INSTALLDIR} dodoc ${WORKDIR}/eagle-4.11/README doman ${WORKDIR}/eagle-4.11/man/eagle.1 insinto /etc/env.d echo -e "PATH=${INSTALLDIR}/bin\n ROOTPATH=${INSTALLDIR}/bin" > 90eagle doins 90eagle } pkg_postinst() { einfo "You must first run eagle as root to invoke product registration" }