Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eagle ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
m0sia
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 113

PostPosted: Tue Jun 28, 2005 12:36 pm    Post subject: eagle ebuild Reply with quote

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
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Tue Jun 28, 2005 6:33 pm    Post subject: Reply with quote

N1 !!!!!!!
I have been using gEDA for a while which is nice but devel has slowed and it not that good (although promise)
THe one elctronics forum I goto all promote EAGLE - didnt know it was linux avaible

Prob with the ebuild - complains abt the Virtual/glibc statement

Since I know it exists (and cant be arsed to debug this ebuild) I just commented it out and installs fine!!!
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum