Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
building tbz2 packages WITHOUT merging
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
metalhedd
l33t
l33t


Joined: 30 May 2002
Posts: 692
Location: Ontario Canada

PostPosted: Wed Jun 26, 2002 8:39 pm    Post subject: building tbz2 packages WITHOUT merging Reply with quote

Is there a way to have portage build a tbz2 package but not merge it?
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Wed Jun 26, 2002 9:56 pm    Post subject: Reply with quote

Use ebuild command instead of emerge. man ebuild for more info.

In a nutshell:
Code:
ebuild <ebuild_file> fetch
ebuild <ebuild_file> unpack
ebuild <ebuild_file> compile
ebuild <ebuild_file> install
ebuild <ebuild_file> package

_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
kachaffeous
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jun 2002
Posts: 86

PostPosted: Thu Jun 27, 2002 11:38 am    Post subject: Reply with quote

ebuild package still merges the files :) (I think)
Back to top
View user's profile Send private message
metalhedd
l33t
l33t


Joined: 30 May 2002
Posts: 692
Location: Ontario Canada

PostPosted: Thu Jun 27, 2002 3:37 pm    Post subject: Reply with quote

It says in the manual that it doesn't install it, I'm gonna try it out.
Back to top
View user's profile Send private message
metalhedd
l33t
l33t


Joined: 30 May 2002
Posts: 692
Location: Ontario Canada

PostPosted: Thu Jun 27, 2002 3:41 pm    Post subject: Reply with quote

does running ebuild <ebuild_file> package download any dependencies?
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Jun 27, 2002 3:43 pm    Post subject: Reply with quote

no, but you can use the 'check' option to see if dependencies are satisfied.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
metalhedd
l33t
l33t


Joined: 30 May 2002
Posts: 692
Location: Ontario Canada

PostPosted: Thu Jun 27, 2002 3:59 pm    Post subject: Reply with quote

Ok, actually I don't want the dependencies to be sastisfied :) its compiling for a different computer, my next main problem is how to I Get it to use different CFALGS CXXFLAGS and USE Variables only when calling ebuild <BLAHBLAH> package from the script that I'm writing? theres so many different config files. is there a way to specify them on the command line? or something like that?
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Jun 27, 2002 4:55 pm    Post subject: Reply with quote

metalhedd wrote:
is there a way to specify them on the command line? or something like that?


Code:
export USE="your use variables here"


Should work for CFLAGS, etc. as well.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
metalhedd
l33t
l33t


Joined: 30 May 2002
Posts: 692
Location: Ontario Canada

PostPosted: Thu Jun 27, 2002 5:09 pm    Post subject: Reply with quote

kliebar, how would I get them to go back to the regular ones after? Could I just use unset, then when portage tries to use it it will read the files again?
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Jun 27, 2002 5:12 pm    Post subject: Reply with quote

metalhedd wrote:
Could I just use unset, then when portage tries to use it it will read the files again?


yes.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
metalhedd
l33t
l33t


Joined: 30 May 2002
Posts: 692
Location: Ontario Canada

PostPosted: Thu Jun 27, 2002 5:13 pm    Post subject: Reply with quote

Perfect, thanks :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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