public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Benjamin Podszun <ben@galactic-tales.de>
To: Gentoo Development List <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] ebuild question, unpacking multi-packed tarballs
Date: 19 Feb 2003 17:44:04 +0100	[thread overview]
Message-ID: <1045673044.1600.32.camel@localhost> (raw)
In-Reply-To: <20030220000941.B1191@securecirt.com>

[-- Attachment #1: Type: text/plain, Size: 1509 bytes --]

I'm not very experienced with ebuilds, but I'd start like this:


# Would make $MY_P equal to samhain-version
MY_P=samhain${P#samhain_server}
# Set the source-dir to the right directory-structure (only an example)
S=${WORKDIR}/${MY_P}/${MY_P}_src
# Where can we get the file and what's its name anyway?
SRC_URI="http://path/to/samhain/${MY_P}_signed.tar.gz

If there's anything wrong with the lines above, please correct me.
Better approaches would be nice as well..

Ben


On Wed, 2003-02-19 at 17:09, Michael Boman wrote:
> I am trying to create ebuilds for samhain (http://la-samhna.de/samhain/index.html), both client/server and stand-alone mode. I have some problems with it thought:
> 
> - The distribution tarball contains the GPG signature + source tarball,
>   so I need to unpack it several times..
> 
> - Even thought it is using the same tarball there is 3 ways to get it
>   compiled: server, client and stand-alone mode
> 
> First I am planning to have something like:
> 
> app-admin/samhain-server
> app-admin/samhain-client
> app-admin/samhain-standalone
> 
> Now, these ebuild names doesn't match the (first) tarball name:
> "samhain_signed-1.7.2.tar.gz". In that tarball I have a new tarball called
> "samhain-1.7.2.tar.gz"
> 
> How do I get about to unpack this multi-packed archive in a nice and
> version independent way, so when next version comes out I just need to
> bump up the version number of the ebuild?
> 
> Best regards
>  Michael Boman

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-02-19 16:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19 16:09 [gentoo-dev] ebuild question, unpacking multi-packed tarballs Michael Boman
2003-02-19 16:44 ` Benjamin Podszun [this message]
2003-02-19 16:56   ` Thomas Arnhold

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=1045673044.1600.32.camel@localhost \
    --to=ben@galactic-tales.de \
    --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