Package: libmujs3-shlibs Version: 1.3.5 Revision: 1 Source: https://mujs.com/downloads/mujs-%v.tar.gz Source-Checksum: SHA256(78a311ae4224400774cb09ef5baa2633c26971513f8b931d3224a0eb85b13e0b) BuildDepends: << fink-package-precedence, readline8 << # Use Apple's linker flag for shared libraries. See: # https://github.com/ccxvii/mujs/issues/177 # # Set install_name and use versioned runtime file. Analogous to: # https://sources.debian.org/patches/mujs/1.3.5-1/Install-versioned-shared-library.patch # # Move build commands and prerequisites into own recipes that are # prerequisites of the install recipes PatchFile: %n.patch PatchFile-MD5: 0ef3c089d5423ee3e8ac29faab325232 SetCPPFLAGS: -MD CompileScript: << make prefix=%p build-shared fink-package-precedence --depfile-ext='\.d' --prohibit-bdep=libmujs3-dev . << InstallScript: make install-shared prefix=%p DESTDIR=%d DocFiles: AUTHORS COPYING README Shlibs: %p/lib/libmujs.3.dylib 4.0.0 %n (>= 1.3.3-1) SplitOff: << Package: libmujs3-dev Conflicts: << libmujs1-dev, libmujs3-dev << Replaces: << libmujs1-dev, libmujs3-dev << Depends: << %N (= %v-%r) << BuildDependsOnly: true Files: << include lib/libmujs.dylib lib/pkgconfig << DocFiles: AUTHORS COPYING README << SplitOff2: << Package: mujs # No idea why it links with the raw .o rather than against the # library (hence no Depends:%N) Depends: << readline8-shlibs << Files: bin DocFiles: AUTHORS COPYING README << DescPackaging: << This is only the core library (not other bindings). There is C++ in the examples, but they are not installed and are not part of the lib itself. << Description: Lightweight JavaScript interpreter # ASC license License: OSI-Approved Homepage: https://mujs.com Maintainer: Daniel Macks