Package: libmujs3-shlibs Version: 1.3.3 Revision: 1 Source: https://mujs.com/downloads/mujs-%v.tar.gz Source-Checksum: SHA256(e2c5ee5416dfda2230c7a0cb7895df9a9b2d5b2065bb18e7e64dec2a796abe1b) 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.3-2/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: 250c8a6628a5e31f884789966bb81a0c 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