public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Avi Schwartz <avi@CFFtechnologies.com>
To: Gentoo Dev <gentoo-dev@gentoo.org>
Subject: [gentoo-dev] ebuild question
Date: 18 Apr 2002 01:13:07 -0500	[thread overview]
Message-ID: <1019110387.12142.46.camel@seahorse> (raw)

I am trying to create an ebuild for wingide.  I have couple of problems
I trying to solve here: 

1. The name of the archive is wingide-1.1.3-1.tar.gz.  I tried to call
the ebuild file wingide-1.1.3-1.ebuild but ebuild doesn't like it since
it thinks there are two version numbers.  So I changed the name to
wingide-1.1.3-r1.ebuild and I am sticking the -1 in the code: 

SRC_URI="ftp://ftp.wingide.com/pub/wingide/${PV}/${P}-1.tar.gzftp://ftp.wingide.com/pub/wingide/${PV}/bugfix/macro-bugfix-all-${PV}-1.tar         ftp://ftp.wingide.com/pub/wingide/${PV}/bugfix/print-bugfix-all-${PV}-1.tar         ftp://ftp.wingide.com/pub/wingide/${PV}/bugfix/reuse-app-instance-all-${PV}-1.tar" 

Is this an acceptable practice? The problem with this is that if they
come out with a -2 version, it will not be enough to rename the ebuild
file (although the bug fix files are breaking this anyway).

BTW, PV and ${D} are not documented in the developers HOWTO.  What else
is missing? 

2. Wingide comes with its own installation program which can be
controlled through the command line.  When its archive is expanded, it
creates a wingide-1.1.3-1 directory in which there is the installation
program and the program files.  Ho do I point to the installation
program?  I tried the following ${WORKDIR}/${P}-1/wing-install.py, is
this correct? 

3. The parameters it expects are the installation directory and binary
directory: 

    ${WORKDIR}/${P}-1/wing-install.py  \ 
        --winghome ${D}/usr/lib/wingide \ 
        --bin-dir ${D}/usr/bin 

again, does this make sense? 

4. Another problem I am having is that I see the following messages when
doing the install: 

>>> Install wingide-1.1.3-r1 into
/var/tmp/portage/wingide-1.1.3-r1/image/ category avi 

but when I look at the image directory I see that it didn't install a
thing. 

5. The last 3 files are archives that have to be extracted over the root
installation directory which will be ${D}/usr/lib/wingide.  Again, how
does one achieve this?

6.  The compile stage extracts all 4 files while I realy want only the
main file to be extracted since the other 3 need to be extracted over
the installed file.  Is there a way to control this?  I tried to put my
own code in src_compile(), but ebuild goes ahead and extracts the
archives before executing my code.

7. When the wingide archive is extracted, besides the installation
program there is another tar file extracted which containsall the files.
Another possibility for the installation of the main wingide archive is
to just extract this archive into ${D}/usr/lib.  The question is, do I
have to create ${D}/usr/lib if it doesn't exist yet or will ebuild do it
for me?

Thanks,
Avi
-- 
Avi Schwartz
avi@CFFtechnologies.com



             reply	other threads:[~2002-04-18  6:13 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-18  6:13 Avi Schwartz [this message]
2002-04-18  6:59 ` [gentoo-dev] ebuild question George Shapovalov
2002-04-18  7:15 ` Tod M Neidt
  -- strict thread matches above, loose matches on Subject: below --
2005-03-03  3:40 pepone pepone
2005-03-03  3:47 ` Jeremy Hanmer
2005-03-03 10:26   ` Aaron Walker
2005-03-03 20:23     ` Jeremy Hanmer
2005-03-04  0:42       ` Aaron Walker
2003-09-19 14:57 Philippe Lafoucrière
2003-09-19 15:03 ` Georgi Georgiev
2003-09-19 15:12   ` Philippe Lafoucrière
2003-09-19 15:26     ` Georgi Georgiev
2003-09-19 15:05 ` Thomas de Grenier de Latour
2003-09-19 15:15   ` Philippe Lafoucrière
2003-06-10 14:25 MAL
2003-06-12 11:34 ` Amiel Martin
2003-05-30 15:17 William Hubbs
2003-05-30 15:27 ` Grant Goodyear
2003-05-31  3:00   ` Georgi Georgiev
2003-05-30 11:15 MAL
2003-05-30 11:29 ` Alastair Tse
2003-05-30 14:22   ` MAL
2003-05-30 14:33     ` Alastair Tse
2003-05-30 14:40       ` Todd Berman
2003-05-30 14:55         ` Jon Portnoy
2003-05-30 15:08           ` MAL
2003-05-30 14:39     ` Seemant Kulleen
2003-05-30 15:09       ` Seemant Kulleen
2002-11-26 21:27 Per Wigren
2002-11-26 21:23 ` Dan Armak
2002-11-27  0:03   ` Per Wigren
2002-07-26 14:54 John Matthews
2002-04-17  5:21 Richard Jackson
2002-04-17  5:02 ` Jared H. Hudson
2002-04-17  6:05   ` Richard Jackson
2002-04-17  5:21     ` Jared H. Hudson
2002-02-07  3:44 Edward Muller
2002-02-07  4:43 ` Tod M Neidt
2001-08-05 15:50 Craig Joly
2001-08-05 17:07 ` Daniel Robbins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1019110387.12142.46.camel@seahorse \
    --to=avi@cfftechnologies.com \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox