Package: librep Version: 0.17 Revision: 1026 BuildDepends: << fink (>= 0.24.12), gdbm3, libgettext8-dev, libncurses5 (>= 5.4-20041023-1006), readline5 (>= 5.0-1004) << Depends: << %N-shlibs (= %v-%r), gdbm3-shlibs, libgettext8-shlibs, libncurses5-shlibs (>= 5.4-20041023-1006), readline5-shlibs (>= 5.0-1004) << Source: mirror:sourceforge:librep/librep-%v.tar.gz Source-MD5: ad4ad851ff9f82a5d61024cd96bc2998 PatchFile: %n.patch PatchFile-MD5: e0cc6da19b64545da0c4527beffa7524 PatchScript: << mv doc docs perl -pi -e 's/(-install-info)/#\1/' man/Makefile.in perl -pi -e 's/(AC_DEFUN\()([^[]+)(,)/\1\[\2]\3/' rep.m4 perl -pi -e 's/extern char \*\*environ;/#include \n#define environ (*_NSGetEnviron())/' src/unix_main.c src/unix_processes.c patch -p1 < %{PatchFile} << ConfigureParams: --without-gmp --infodir=%p/share/info --libexecdir=%p/lib --with-aclocaldir=%p/share/aclocal SetCFLAGS: -g -O0 CompileScript: << ./configure %c make host_type=%m-apple-darwin << InstallScript: << make install host_type=%m-apple-darwin DESTDIR=%d << SplitOff: << Package: %N-shlibs Depends: libgettext8-shlibs Replaces: %N (<= 0.16.2-10) Files: lib/librep.*.dylib Shlibs: %p/lib/librep.9.dylib 14.0.0 %n (>= 0.17-1) DocFiles: README COPYING AUTHORS NEWS THANKS << SplitOff2: << Package: %N-dev BuildDependsOnly: True Depends: %N-shlibs (= %v-%r) Replaces: %N (<= 0.16.2-10) Files: include lib/librep.* share/aclocal DocFiles: README COPYING AUTHORS NEWS THANKS << DocFiles: README COPYING AUTHORS NEWS THANKS InfoDocs: librep.info # Description: Embedable interpreter for a Lisp dialect DescDetail: << librep implements a Lisp dialect called rep. The interpreter can be run standalone or it can be embeded in applications via a library. The language can be extended through loadable modules. << DescPort: << Forces the host_type to be something without an OS version number in it. Unsure if this is still needed: The compiler shipped with Mac OS X 10.1 generates incorrect code when the default optimization (-O2) is used. We force -O0, which seems to work so far. added --libexecdir= flag to comply with fink's policy Need explicit -l flag for gettext (its functions aren't in system lib) TODO: move loadable modules .so/.la into -shlibs pkg? << License: GPL Homepage: http://librep.sourceforge.net/ Maintainer: None