| View previous topic :: View next topic |
| Author |
Message |
GentooMik Tux's lil' helper


Joined: 25 Nov 2004 Posts: 141
|
Posted: Sat Oct 20, 2007 3:37 am Post subject: electric form ebuild is missing from portage |
|
|
Hello,
Have looked and looked on the forums, bugzilla, google and can't find it. An ebuild for electricform. Does anyone know how to make this ebuild? My effort looks terrible, stripped from another ebuild, (that uses same deps) it does not work either. Because the programmers did not use make, configure etc.
The program site is at:
http://minipop.org/index.php?file=electricform
My (bad) attempt to decryt this thing:
| Code: |
IUSE=""
DESCRIPTION="This is a program that will help you at your electronic based projects or at school. For it to calculate you will have to enter data in two of the four data fields. The four data fields are: electric power [P], resistance[R], current[I] and voltage[V]. As an example if you want to calculate the resistance[R] you wil have to supply the value for the electric power[P] and current[I] or you can supply the value of the power[P] and voltage[V]."
HOMEPAGE="http://minipop.org/index.php?file=electricform"
SRC_URI="http://www.minipop.org/progs/electricform/${P}.linux-i686.tar.gz"
RESTRICT="nomirror"
LICENSE="GPL"
SLOT="0"
KEYWORDS="x86"
DEPEND=">=x11-libs/gtk+-2.4
dev-lang/python
dev-util/glade
dev-python/pygtk"
RDEPEND=""
src_unpack()
{
unpack ${A}
cd ${S}
}
src_install() {
DESTDIR=${D}\usr python setup.py install --root=${D} || die "install failed"
dodoc README
}
|
Some help really appreciated Thanks a bunch on making this ebuild more standard. Work for the matter, ebuilds.skel.example is not helpful in a case of python like this.
Another program is:
http://gnomecoder.wordpress.com/screenruler/
But will leave that for another time.  _________________ Attempt to Treat others, the way you would like to be treated yourself. |
|
| Back to top |
|
 |
Corvinian n00b

Joined: 07 Sep 2007 Posts: 42 Location: Europe
|
Posted: Wed Oct 24, 2007 1:17 pm Post subject: |
|
|
Hello GentooMik,
I don't know where the error is but the software wasn't updated for more than two years, so creating an ebuild therefore is IMHO not sensible.
Just download the archive, extract it and install with python as given in the README file.
You will never need to update this utility again, because of its limited functionality.
If you know how to calculate power, current and resistance, I'd use a simple physical 'old-school' ;-)calculator or some KDE/GNOME desktop version to do this.
Takes less time than generating an ebuild and spotting the error.  |
|
| Back to top |
|
 |
|
|
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
|
|