On Mon, 17 Jan 2005 23:17:27 +0100, Manuel Hendel <[EMAIL PROTECTED]> wrote:
> InstallScript: <<
>      cp pflogsumm.pl %p/bin/pflogsumm
>      chmod 755 %p/bin/pflogsumm
> 
>      cp pflogsumm.1 %p/share/man/man1/pflogsumm.1
>      chmod 644 %p/share/man/man1/pflogsumm.1
> <<

In addition to Chris's comments, you probably want to replace %p with
%i in the install script.

http://fink.sourceforge.net/doc/packaging/reference.php#build

Copying to %p copies directly to /sw (in a standard setup). This means
that the files are available on your own system, but will not be
included in the .deb file (unless you use %i). Thus, they will not be
removed if you use 'fink remove'. Effectively, the files have slipped
out of Fink's control.

However, the root directory in %i will most likely not have a
/sw/share/man/man1 or /sw/bin directory, so you probably want to use
'mkdir -p' (or 'install -d'; Fink gurus: any preference here?):

    mkdir -p %i/bin
    mkdir -p %i/share/man/man1

then copy the files in.

-- 
- Charles Lepple


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to