m0sia Tux's lil' helper
Joined: 07 Jul 2003 Posts: 113
|
Posted: Tue Jun 28, 2005 12:36 pm Post subject: eagle ebuild |
|
|
The EAGLE Layout Editor is an easy to use, yet powerful tool for designing printed circuit boards (PCBs). The name EAGLE is an acronym, which stands for
Easily Applicable Graphical Layout Editor
The program consists of three main modules
* Layout Editor
* Schematic Editor
* Autorouter
which are embedded in a single user interface. Therefore there is no need for converting netlists between schematics and layouts.
ebuild can be found here ftp://ftp.cadsoft.de/pub/userfiles/misc/eagle_ebuild.tgz
fresh ebuild for eagle 4.15
Code: |
# Copyright 1999-2005 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
# Required Variables
SLOT="0"
IUSE="german doc"
LICENSE="cadsoft"
KEYWORDS="x86 ~amd64"
DESCRIPTION="EAGLE Layout Editor - Light Edition"
RESTRICT="nomirror"
SRC_URI="german? (ftp://ftp.cadsoft.de/pub/program/${PV}/${PN}-lin-ger-${PV}.tgz
doc? (ftp://ftp.cadsoft.de/pub/program/${PV}/manual-ger.pdf
ftp://ftp.cadsoft.de/pub/program/${PV}/tutorial-ger.pdf))
!german? (ftp://ftp.cadsoft.de/pub/program/${PV}/${PN}-lin-eng-${PV}.tgz
doc? (ftp://ftp.cadsoft.de/pub/program/${PV}/manual-eng.pdf
ftp://ftp.cadsoft.de/pub/program/${PV}/tutorial-eng.pdf))"
HOMEPAGE="http://www.cadsoft.de"
RDEPEND="virtual/x11"
INSTALLDIR="/opt/eagle"
src_install() {
dodir ${INSTALLDIR} || die "Can't create"
if use german ; then
cp -r ${WORKDIR}/${PN}-lin-ger-${PV}/* ${D}${INSTALLDIR} || die
dodoc ${WORKDIR}/${PN}-lin-ger-${PV}/README
doman ${WORKDIR}/${PN}-lin-ger-${PV}/man/eagle.1
else
cp -r ${WORKDIR}/${PN}-lin-eng-${PV}/* ${D}${INSTALLDIR} || die
dodoc ${WORKDIR}/${PN}-lin-eng-${PV}/README
doman ${WORKDIR}/${PN}-lin-eng-${PV}/man/eagle.1
fi
if use doc ; then
insinto ${INSTALLDIR}/doc
if use german ; then
doins ${DISTDIR}/manual-ger.pdf
doins ${DISTDIR}/tutorial-ger.pdf
else
doins ${DISTDIR}/manual-eng.pdf
doins ${DISTDIR}/tutorial-eng.pdf
fi
fi
insinto /etc/env.d
echo -e "PATH=${INSTALLDIR}/bin\nROOTPATH=${INSTALLDIR}/bin" > 90eagle
doins 90eagle
}
pkg_postinst() {
echo
ewarn "You must first run eagle as root to invoke product registration"
echo
ebeep 3
}
|
cat files/digest-eagle-4.15
Code: | MD5 438f09c9db86ac950151f3eaa7eb430a eagle-lin-ger-4.15.tgz 8265345
MD5 bc5a380e943e741b4b85f6c9e8b23ddc manual-ger.pdf 3178176
MD5 9ba57872a58f5bd042654a4c325b0011 tutorial-ger.pdf 408725
MD5 b9a3ec50033785903cfccba86de0b367 eagle-lin-eng-4.15.tgz 8165519
MD5 1e85f214b4229023ec22167ee8c6b485 manual-eng.pdf 1875608
MD5 9ed24f9106432f237d3991c291d95b04 tutorial-eng.pdf 372595 |
[edit]thanks to Nunatak. He added some features in ebuild(~amd64,doc,german translation) [/edit] _________________ Using Gentoo since May 2003.
Last edited by m0sia on Wed Jun 29, 2005 6:18 am; edited 4 times in total |
|