Hi folks

I'm very new to Fink and need GraphicsMagick to work with TYPO3 on a  
Mac. I've therefore converted the installation guide into an .info  
for Fink. However, it's surely far from perfect I guess, so hints on  
how to improve it are very much apprechiated, particularly:

1)
I've got /sw hardcoded which causes Fink to nag. Replacing it with  
@FINKPREFIX@ does not work as this is not being replaced by /sw at  
build time. There seems to be missing something.

2)
The line which temporary sets a symbolic link (sudo ln -s /sw / 
Developer...) is needed for the GraphicsMagick to compile. However,  
sudo asks for the password - is there a way to prevent this?

3)
The package is very OS version dependent, 10.4 in this case. Setting  
the symbolic link will fail on other releases or if the Developer  
Tools are not installed. Is this enough or should there be another  
statement in the .info file to enforce the dependency to a specific  
Mac OS X release?

Many thanks for your help,  -sven


======BEGIN======
Info2: <<
Package: graphicsmagick
Version: 1.1.8
Revision: 1000
GCC: 4.0
Source: ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/ 
GraphicsMagick-%v.tar.gz
Source-MD5: 437e7b6bac2e75695b3482c0b9b8c275
SourceDirectory: GraphicsMagick-%v
BuildDepends: libjpeg, libpng3, libtiff
CompileScript: <<
#!/bin/sh -ev
sudo ln -s /sw /Developer/SDKs/MacOSX10.4u.sdk/
export CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk/ -arch  
i386 -I/sw/include/"
export LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk/,-L/ 
sw/lib/"
./configure --prefix=/sw --with-quantum-depth=16 --disable-dependency- 
tracking --with-x=yes --x-includes=/usr/X11R6/include --x-libraries=/ 
usr/X11R6/lib/ --without-perl
sudo /Developer/SDKs/MacOSX10.4u.sdk/sw
make
<<
Description: Image manipulation tools like ImageMagick
InstallScript: <<
#!/bin/sh -ev
make install DESTDIR=%d
<<
DescDetail: <<
GraphicsMagick is doing very much the same as ImageMagick, however,
the interface is undergoing less changes which made it popular with
frameworks and CMS such as TYPO3.
<<
DocFiles: README.txt ChangeLog NEWS
License: GraphicsMagick License
Maintainer: Sven Schwyn <[EMAIL PROTECTED]>
Homepage: http://www.graphicsmagick.org
#end of Info2
<<
======END======


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to