the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: littre-x11
Version: 2.0
Revision: 2
Description: French dictionary (X11 version)
DescDetail: E'mile Littre' dictionary of French; reference book for lovers of literature.
Maintainer: None
License: OSI-Approved
Homepage: http://code.google.com/p/dictionnaire-le-littre/
BuildDepends: <<
qt4-base-x11 (>= 4.7.3-1),
fink (>= 0.30.0-1),
libiconv-dev,
libpng14,
system-openssl-dev
<<
Depends: <<
qt4-base-x11-qtcore-shlibs (>= 4.7.3-1),
qt4-base-x11-qtgui-shlibs (>= 4.7.3-1),
qt4-base-x11-qtxml-shlibs (>= 4.7.3-1),
libiconv,
libpng14-shlibs
<<
Source: http://dictionnaire-le-littre.googlecode.com/files/Littre-source-%v.tar.bz2
Source-MD5: c71666ae4cf6353d2bbb7e98dcca9159
SourceDirectory: Littre-source-%v
CompileScript: <<
#!/bin/sh -ev
%p/lib/qt4-x11/bin/qmake Littre.pro
make
<<
InstallScript: <<
#!/bin/sh -ev
install -d %i/bin
install -d %i/share
install -d %i/share/%n
pushd bin
install Littre* %i/share/%n
install Littre %i/share/%n
popd
ln -s %p/share/%n/Littre %i/bin/Littre
<<
DocFiles: Licence-CeCILL.txt
DescPort: <<
Always uses the system's openssl even with a Fink opensslN installed, so just put
system-openssl-dev in the BuildDepends for bookkeeping.
Use custom InstallScript, since upstream assumes build is for Aqua QT.
Executable wants to be in the same directory as the data files, so we do that, and then put a
symlink in %p/bin.
<<