This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: [BUG] in the generic packaging script
- From: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
- To: Ronald Landheer-Cieslak <ronald at landheer dot com>
- Cc: cygwin-apps at cygwin dot com
- Date: Thu, 12 Jun 2003 14:02:15 +0200
- Subject: Re: [BUG] in the generic packaging script
- Organization: Esse keine toten Tiere
- References: <Pine.LNX.4.44.0306111104200.850-200000@localhost.localdomain>
- Reply-to: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
Ronald schrieb:
> I'm starting from scratch on the aspell dict packs, because I don't quite
> remember where I left off. I downloaded a fresh generic script and named
> it aspell-en-0.51.0-1.sh. I added a debug functions available from the
> command-line to see whether the different variables were set OK and - lo
> and behold - they weren't.
> The results:
> $ ./aspell-en-0.51.0-1.sh vars
> topdir = /home/RLandheer/aspell
> PKG = aspell-en
> VER = en-0.51.0
> REL = 0.51.0-1
> FULLPKG = aspell-en-en-0.51.0-0.51.0-1
> I am no wizz at sed regular expressions (I know a lot more about the
> Perl-compatible variety) bu I am fairly certain the bug is in them. I'll
> try to patch it up but if anyone beats me to it, I certainly won't mind :)
This is because of the dash before 'en'.
I would recommend to use a *much* simpler script for the dictionary,
s.th like:
#!/bin/sh
cd aspell-en-0.51.0
./configure $options
make
make install
Then create a list of the installed files and tar it up.
Since there is just aspell called to compile the dictonaries, this even
could be done in a postinstall script;) Really! The ./configure script
is just a shell script which looks where aspell is installed and creates
the Makefile from a template, the compilation of the dictonaries last
very long, though.
Gerrit
--
=^..^=