mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
use new brewkit for gcc ar/ranlib fix
This commit is contained in:
parent
d4bb4941dd
commit
2dc3200dc1
2 changed files with 8 additions and 22 deletions
|
@ -1,12 +1,15 @@
|
||||||
distributable:
|
distributable:
|
||||||
url: https://codeload.github.com/AgentD/squashfs-tools-ng/tar.gz/refs/tags/v{{version}}
|
url: https://infraroot.at/pub/squashfs/squashfs-tools-ng-{{version}}.tar.xz
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
|
|
||||||
display-name: squashfs-tools-ng
|
display-name: squashfs-tools-ng
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
github: AgentD/squashfs-tools-ng/tags
|
url: https://infraroot.at/pub/squashfs/
|
||||||
strip: /^v/
|
match: /squashfs-tools-ng-\d+\.\d+(\.\d+)?\.tar\.gz/
|
||||||
|
strip:
|
||||||
|
- /^squashfs-tools-ng-/
|
||||||
|
- /.tar.gz$/
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
zlib.net: ^1
|
zlib.net: ^1
|
||||||
|
@ -17,25 +20,14 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
freedesktop.org/pkg-config: '*'
|
|
||||||
gnu.org/coreutils: '*'
|
gnu.org/coreutils: '*'
|
||||||
gnu.org/libtool: '*'
|
gnu.org/libtool: '*'
|
||||||
gnu.org/automake: '*'
|
|
||||||
gnu.org/autoconf: '*'
|
|
||||||
gnu.org/gawk: '*'
|
gnu.org/gawk: '*'
|
||||||
gnu.org/gcc: '*'
|
gnu.org/gcc: '*'
|
||||||
cmake.org: ^3
|
cmake.org: ^3
|
||||||
script:
|
script:
|
||||||
- autoreconf --force --install --symlink
|
- ./configure --prefix="{{prefix}}"
|
||||||
- ./configure $ARGS
|
- make --jobs {{ hw.concurrency }} install V=1
|
||||||
- make --jobs {{ hw.concurrency }} install
|
|
||||||
env:
|
|
||||||
ARGS:
|
|
||||||
- --prefix="{{prefix}}"
|
|
||||||
darwin:
|
|
||||||
# FIXME: binutils ar/ranlib are broken on macOS?
|
|
||||||
AR: /usr/bin/ar
|
|
||||||
RANLIB: /usr/bin/ranlib
|
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/gensquashfs
|
- bin/gensquashfs
|
||||||
|
|
|
@ -45,14 +45,8 @@ build:
|
||||||
|
|
||||||
- install {{prefix}}/lib/*.mod {{prefix}}/include/
|
- install {{prefix}}/lib/*.mod {{prefix}}/include/
|
||||||
env:
|
env:
|
||||||
linux:
|
|
||||||
AR: ${{deps.gnu.org/binutils.prefix}}/bin/ar
|
|
||||||
RANLIB: ${{deps.gnu.org/binutils.prefix}}/bin/ranlib
|
|
||||||
CXXFLAGS: $CXXFLAGS -std=c++11
|
CXXFLAGS: $CXXFLAGS -std=c++11
|
||||||
darwin:
|
darwin:
|
||||||
# FIXME: binutils ar/ranlib are broken on macOS?
|
|
||||||
AR: /usr/bin/ar
|
|
||||||
RANLIB: /usr/bin/ranlib
|
|
||||||
CFLAGS: $CFLAGS -Wl,-rpath,{{pkgx.prefix}}
|
CFLAGS: $CFLAGS -Wl,-rpath,{{pkgx.prefix}}
|
||||||
CXXFLAGS: $CXXFLAGS -Wl,-rpath,{{pkgx.prefix}}
|
CXXFLAGS: $CXXFLAGS -Wl,-rpath,{{pkgx.prefix}}
|
||||||
FCFLAGS: $FCFLAGS -Wl,-rpath,{{pkgx.prefix}}
|
FCFLAGS: $FCFLAGS -Wl,-rpath,{{pkgx.prefix}}
|
||||||
|
|
Loading…
Reference in a new issue