simple-learning

Simple learning web program
git clone git://git.laack.co/simple-learning.git
Log | Files | Refs | README | LICENSE

conf-pkg-config.5.pkg (2890B)


      1 (version 5)
      2 
      3 (build
      4  (choice
      5   ((((arch x86_64)
      6      (os linux))
      7     ((arch arm64)
      8      (os linux)))
      9    ((action
     10      (progn
     11       (run pkg-config --help)
     12       (run
     13        sh
     14        ./write-config.sh
     15        %{pkg-self:name}
     16        -v
     17        command:list
     18        EOL
     19        pkg-config
     20        EOL)))))
     21   ((((arch x86_64)
     22      (os macos))
     23     ((arch arm64)
     24      (os macos)))
     25    ((action
     26      (progn
     27       (when
     28        (not
     29         (= %{os_distribution} homebrew))
     30        (run pkg-config --help))
     31       (when
     32        (= %{os_distribution} homebrew)
     33        (run pkgconf --version))
     34       (run
     35        sh
     36        ./write-config.sh
     37        %{pkg-self:name}
     38        -v
     39        command:list
     40        EOL
     41        (when
     42         (catch_undefined_var
     43          (not
     44           (= %{os_distribution} homebrew))
     45          false)
     46         pkg-config)
     47        (when
     48         (catch_undefined_var
     49          (= %{os_distribution} homebrew)
     50          false)
     51         pkgconf)
     52        EOL)))))))
     53 
     54 (depexts
     55  ((pkg-config)
     56   (or_absorb_undefined_var
     57    (= %{os_family} debian)
     58    (= %{os_family} ubuntu)))
     59  ((pkgconf)
     60   (= %{os_distribution} arch))
     61  ((pkgconf-pkg-config)
     62   (= %{os_family} fedora))
     63  ((pkgconfig)
     64   (and_absorb_undefined_var
     65    (= %{os_distribution} centos)
     66    (<= %{os_version} 7)))
     67  ((pkgconf-pkg-config)
     68   (= %{os_distribution} mageia))
     69  ((pkgconfig)
     70   (and_absorb_undefined_var
     71    (= %{os_distribution} rhel)
     72    (<= %{os_version} 7)))
     73  ((pkgconfig)
     74   (and_absorb_undefined_var
     75    (= %{os_distribution} ol)
     76    (<= %{os_version} 7)))
     77  ((pkgconf)
     78   (= %{os_distribution} alpine))
     79  ((pkg-config)
     80   (= %{os_distribution} nixos))
     81  ((pkgconf)
     82   (and_absorb_undefined_var
     83    (= %{os} macos)
     84    (= %{os_distribution} homebrew)))
     85  ((pkgconfig)
     86   (and_absorb_undefined_var
     87    (= %{os} macos)
     88    (= %{os_distribution} macports)))
     89  ((pkgconf)
     90   (= %{os} freebsd))
     91  ((pkgconf-pkg-config)
     92   (and_absorb_undefined_var
     93    (= %{os_distribution} rhel)
     94    (>= %{os_version} 8)))
     95  ((pkgconf-pkg-config)
     96   (and_absorb_undefined_var
     97    (= %{os_distribution} centos)
     98    (>= %{os_version} 8)))
     99  ((pkgconf-pkg-config)
    100   (and_absorb_undefined_var
    101    (= %{os_distribution} ol)
    102    (>= %{os_version} 8)))
    103  ((system:pkgconf)
    104   (and_absorb_undefined_var
    105    (= %{os} win32)
    106    (= %{os_distribution} cygwinports)))
    107  ((pkgconf)
    108   (= %{os_distribution} cygwin)))
    109 
    110 (extra_sources
    111  (install-shim.sh
    112   (fetch
    113    (url
    114     https://raw.githubusercontent.com/dra27/mingw-w64-shims/refs/tags/1.0.1/install-shim.sh)
    115    (checksum
    116     sha512=0b76a529454b00027b5768fa6ead1b8dda6bc3adab55f4288a702f4cc5d7b280be938cced6841b1556e8cf98f56ecc95b7b22006859d7a91f0ef852aea74e88c)))
    117  (write-config.sh
    118   (fetch
    119    (url
    120     https://raw.githubusercontent.com/dra27/mingw-w64-shims/refs/tags/1.0.1/write-config.sh)
    121    (checksum
    122     sha512=00c4e7c605e46c8fb4d24c40da0a9317e31e3ec723a7aac59546b1cfb180024cc76dbd27c2aca8d223047ad4b0a4bcd047443fc64a6e218a21931aaa672c3e71))))