Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Perl-Programm -- Paket schnüren, aber wie?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2546
Location: Konradsreuth (Germany)

PostPosted: Sun May 20, 2007 11:47 am    Post subject: Perl-Programm -- Paket schnüren, aber wie? Reply with quote

Mahlzeit :-)

Ich hab grad mal eines meiner in Perl geschriebenen Programme überarbeitet, schön mit englischen Meldungen und einer deutschen Lokalisierung. Und jetzt mache ich mir Gedanken darüber, wie man sowas eigentlich verpacken sollte, bevor man's auf seine Homepage zum Download stellt.

Bisher hab ich da immer ein Script namens install mit reingepackt, was einfach die Manpage nach /usr/share/man/man1/, die Lokalisierung nach /usr/share/locale/de/LC_MESSAGES/ und das Programm selber nach /usr/bin/ kopiert hat. Aber das ist ja nicht gerade die "feine englische Art" ;-)

Wie macht man sowas "normalerweise"? Mit make? Weil zu kompilieren gibt's ja eigentlich nix, es geht ja primär darum, rauszufinden, wo er Kram hinsoll ... bzw. ob der User die deutsche Übersetzung denn überhaupt haben will ...

Also ich wäre für diesbezügliche Hilfe echt dankbar, weil ich keine Ahnung hab und nichts passendes finden konnte (bisher)!

MfG, Libby
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


Joined: 26 Oct 2003
Posts: 1287
Location: Dresden/Germany

PostPosted: Mon May 21, 2007 8:18 pm    Post subject: Reply with quote

Ich denke mal das muss irgendwie mit cpan gehen und das es der richtige Weg für perl ist. Ich habe allerdings noch nie ein cpan-Paket geschnürt.
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2546
Location: Konradsreuth (Germany)

PostPosted: Mon May 21, 2007 9:13 pm    Post subject: Reply with quote

Naja, CPAN ist für Module ... soll ja aber ein Programm "wie jedes andere" sein ... also wget, configure, make, make install quasi ;-)
Back to top
View user's profile Send private message
Silicoid
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2004
Posts: 144
Location: Erde

PostPosted: Tue May 22, 2007 5:26 am    Post subject: Reply with quote

Libby wrote:
Naja, CPAN ist für Module ... soll ja aber ein Programm "wie jedes andere" sein ... also wget, configure, make, make install quasi ;-)

Ist so nicht ganz richtig. Auch spamassassin ist in CPAN. Wenn dann würde ich es auch so machen. Dann kennt sich jeder, der mit perl arbeitet sofort damit aus. Allerdings hab ich bisher auch kein CPAN Modul gebaut.
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2546
Location: Konradsreuth (Germany)

PostPosted: Tue May 22, 2007 2:21 pm    Post subject: Reply with quote

Das Problem daran ist dann nur, daß eben die Zielgruppe für das Programm keine Leute sind, die mit Perl arbeiten, sondern einfach irgendwelche, die halt das Programm benutzen wollen ...
Back to top
View user's profile Send private message
jkoerner
Apprentice
Apprentice


Joined: 04 Nov 2006
Posts: 270

PostPosted: Fri May 25, 2007 7:57 pm    Post subject: Reply with quote

Ich hab' vor einigen Jahren mal aus einem Perl-Programm ein Debianpaket geschnürt...
Heute würde ich das nicht mehr machen, war doch viel Arbeit mit den MAKEFILEs.
Die sind zwar ein Fake, aber die Installation klappt wirklich hervorragend damit.

Allerdings würde ich auch für ein "paar" Dateien ein einfaches shell-Installationsscript bauen.
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2546
Location: Konradsreuth (Germany)

PostPosted: Sat May 26, 2007 9:58 am    Post subject: Reply with quote

Ich hab das mittlerweile manuell mit Makefiles gelöst. Die generieren und installieren die Locales und erledigen auch die Installation. Und wer perl nicht in /usr/bin/perl hat, hat Pech gehabt ;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum 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