Re: [Fink-devel] need some help with packaging

2005-01-18 Thread Chris Dolan
On Jan 17, 2005, at 5:42 PM, Chris Zubrzycki wrote:
On Jan 17, 2005, at 5:17 PM, Manuel Hendel wrote:
I'm trying to package pflogsumm for fink. The pflogsumm package just 
contains a perl script and a manpage, there is nothing to compile, 
just copy the the two files to the right place.
CompileScript: echo Nothing to compile
I recommend instead:
  CompileScript: /usr/bin/true
This avoids excess verbosity and makes localization easier.
See my earlier post on this topic:
  http://sourceforge.net/mailarchive/message.php?msg_id=10116957
Chris
--
Chris Dolan, Software Developer, Clotho Advanced Media Inc.
608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703
Clotho Advanced Media, Inc. - Creators of MediaLandscape Software 
(http://www.media-landscape.com/) and partners in the revolutionary 
Croquet project (http://www.opencroquet.org/)


PGP.sig
Description: This is a digitally signed message part


[Fink-devel] need some help with packaging

2005-01-17 Thread Manuel Hendel
Hallo *,
I'm trying to package pflogsumm for fink. The pflogsumm package just 
contains a perl script and a manpage, there is nothing to compile, just 
copy the the two files to the right place.
My pflogsumm.info:

Package: pflogsumm
Version: 1.1.0
Revision: 1
Source: http://jimsun.linxnet.com/downloads/%n-%v.tar.gz
Source-MD5: 1f78fcaf2a36ec3520ecff286a45251a
Maintainer: Manuel Hendel [EMAIL PROTECTED]
HomePage: http://jimsun.linxnet.com/postfix_contrib.html
License: GPL
Description: Postfix logfile analyzer utility by Jim Seymour
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

My problem is the fink always tries to compile something. I couldn't 
find a way to stop this. Can anyone give me a hint please?

Thanks in advance,
mhe

---
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, almosthttp://www.thinkgeek.com/sfshirt
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] need some help with packaging

2005-01-17 Thread Chris Zubrzycki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 17, 2005, at 5:17 PM, Manuel Hendel wrote:
Hallo *,
I'm trying to package pflogsumm for fink. The pflogsumm package just 
contains a perl script and a manpage, there is nothing to compile, 
just copy the the two files to the right place.
My pflogsumm.info:

Package: pflogsumm
Version: 1.1.0
Revision: 1
Source: http://jimsun.linxnet.com/downloads/%n-%v.tar.gz
Source-MD5: 1f78fcaf2a36ec3520ecff286a45251a
Maintainer: Manuel Hendel [EMAIL PROTECTED]
HomePage: http://jimsun.linxnet.com/postfix_contrib.html
License: GPL
Description: Postfix logfile analyzer utility by Jim Seymour
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

My problem is the fink always tries to compile something. I couldn't 
find a way to stop this. Can anyone give me a hint please?
CompileScript: echo Nothing to compile
- -chris zubrzycki
- - --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070

Sadly, text alone cannot convey the depths of my sarcasm.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (Darwin)
iD8DBQFB7E1M+/mCMqKrwHARAi0kAJ4i6uaIPVvh8RUZHmzhRRTSxRq+GQCgoniC
L/mkkaB17kANUHL+bGyX68s=
=u0Dm
-END PGP SIGNATURE-

---
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, almosthttp://www.thinkgeek.com/sfshirt
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] need some help with packaging

2005-01-17 Thread Peter O'Gorman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Manuel Hendel 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
| 
|
| My problem is the fink always tries to compile something. I couldn't
| find a way to stop this. Can anyone give me a hint please?
Hi,
Add a CompileScript that does nothing. e.g.
CompileScript: echo Nothing to do
Peter
- --
Peter O'Gorman - http://www.pogma.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (Darwin)
iQCVAwUBQexVBriDAg3OZTLPAQIzaQP/Qa+niMao/RTUQR4CHb0jwcZJkqvko0iL
+fZUpaADt1xdARTAjOk2RXpasGzhTnD+DywoaLIKEVfjS9GeqEj7VkTJvxm15rgn
G4SAQS7CUCABt7ePZIvjO/sMh58gyJl/dzjMFQCN/ssqsDANr4LaKRLdRCT3S/sZ
xwzN9HUYz7Y=
=tfSY
-END PGP SIGNATURE-
---
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, almosthttp://www.thinkgeek.com/sfshirt
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] need some help with packaging

2005-01-17 Thread Charles Lepple
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, almosthttp://www.thinkgeek.com/sfshirt
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] need some help with packaging

2005-01-17 Thread David R. Morrison
One more thing: you are required to document the license arrangement in
the directory %p/share/doc/%n .  This could be as simple as

 mkdir -p %p/share/doc/%n
 cp COPYING %p/share/doc/%n

(assuming that the standard GPL COPYING file is included in your package).


  -- Dave


---
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, almosthttp://www.thinkgeek.com/sfshirt
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel