Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Info ebuild
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
antonellocaroli
Guru
Guru


Joined: 11 Aug 2016
Posts: 510

PostPosted: Thu May 18, 2023 8:31 am    Post subject: Info ebuild Reply with quote

Non so se è fattibile o meno.

Ho due ebuild che installoano lo stesso software proveniente da un pacchetto .deb.
in realtà il software è lo stesso ma compilato diversamente.
I contenuti dei file deb sono gli stessi, intendo come nomi, ma il binario è compilato diversamente.

Quindi io ho due ebuild distinte per installarli entrambi, in una faccio in modo di rinominare il binario.

Adesso mi chiedevo se era possibile, anzichè avere due ebuild distinti, includere il tutto in una unica ebuild.

Quindi due SOURCE_URI

e poi non riesco a capire come si comporterebbe l´unpacker...
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30918
Location: here

PostPosted: Thu May 18, 2023 9:19 am    Post subject: Reply with quote

Puoi mettere uno o più url in SRC_URI il problema sarà che devi ridefinire la funzione src_unpack visto che i due paccketti avranno file con lo stesso nome.
Non ho idea come si gestiscano questi casi ma per me avere due pacchetti separati mi creerebbe meno confusione (con una descrizione che faccia capire bene cosa sono le differenze).
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
antonellocaroli
Guru
Guru


Joined: 11 Aug 2016
Posts: 510

PostPosted: Thu May 18, 2023 1:39 pm    Post subject: Reply with quote

fedeliallalinea wrote:
ma per me avere due pacchetti separati mi creerebbe meno confusione.


Si, molto probabilmente è la strada migliore....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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