cleanup all empty dependencies: nodes

This commit is contained in:
Jacob Heider 2023-10-01 20:41:57 -04:00
parent e28afdb4de
commit 48b12e5aa9
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB
260 changed files with 563 additions and 1014 deletions

View file

@ -10,38 +10,36 @@ build:
cmake.org: ^3
script:
- |
cmake -S . -B build \
-DCMAKE_CXX_STANDARD=17 \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_RPATH={{ prefix }}/lib \
-DCMAKE_BINARY_DIR={{ prefix }}/bin \
-DABSL_PROPAGATE_CXX_STD=ON \
-DCMAKE_INSTALL_PREFIX={{ prefix }} \
-DCMAKE_INSTALL_LIBDIR={{ prefix }}/lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_FIND_FRAMEWORK=LAST \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-Wno-dev \
-DBUILD_TESTING=OFF
- cmake --build build
- cmake --install build
# Remove bad flags in .pc files.
# https://github.com/abseil/abseil-cpp/issues/1408
- run: |
sed -i '' 's/-Xarch_x86_64 -Xarch_x86_64 -Xarch_arm64 //g' {{ prefix }}/lib/pkgconfig/absl_random_internal_randen_hwaes{_impl,}.pc
if: darwin
- |
cmake -S . -B build \
-DCMAKE_CXX_STANDARD=17 \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_RPATH={{ prefix }}/lib \
-DCMAKE_BINARY_DIR={{ prefix }}/bin \
-DABSL_PROPAGATE_CXX_STD=ON \
-DCMAKE_INSTALL_PREFIX={{ prefix }} \
-DCMAKE_INSTALL_LIBDIR={{ prefix }}/lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_FIND_FRAMEWORK=LAST \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-Wno-dev \
-DBUILD_TESTING=OFF
- cmake --build build
- cmake --install build
# Remove bad flags in .pc files.
# https://github.com/abseil/abseil-cpp/issues/1408
- run: |
sed -i '' 's/-Xarch_x86_64 -Xarch_x86_64 -Xarch_arm64 //g' {{ prefix }}/lib/pkgconfig/absl_random_internal_randen_hwaes{_impl,}.pc
if: darwin
- working-directory: "{{prefix}}/lib/cmake/absl"
run: |
sed -i.bak \
-e "s:{{ tea.prefix }}:\$\{CMAKE_CURRENT_LIST_DIR\}/../../../../..:g" \
abslTargets{,-release}.cmake
rm abslTargets{,-release}.cmake.bak
- working-directory: '{{prefix}}/lib/cmake/absl'
run: |
sed -i.bak \
-e "s:{{ tea.prefix }}:\$\{CMAKE_CURRENT_LIST_DIR\}/../../../../..:g" \
abslTargets{,-release}.cmake
rm abslTargets{,-release}.cmake.bak
test:
dependencies:
script: |
ls -l
c++ -std=c++17 -I{{ prefix }}/include -L{{ prefix }}/lib -labsl_strings test.cc
test "$(./a.out)" = "Joined string: foo-bar-baz\n"

View file

@ -18,22 +18,19 @@ dependencies:
tea.xyz: ^0
build:
dependencies:
script:
# `pip install` seems to miss some vital .json files, so we must manually copy
# we copy everything as we're not 100% sure which files are missing
# we do this first so any file movements from `pip install` takes precedence
- run:
cp -R $SRCROOT/autogpt .
working-directory:
${{prefix}}/venv/lib/python{{deps.python.org.version.marketing}}/site-packages
- run: cp -R $SRCROOT/autogpt .
working-directory: ${{prefix}}/venv/lib/python{{deps.python.org.version.marketing}}/site-packages
- python-venv.py {{prefix}}/bin/auto-gpt --requirements-txt
# still pretty new and thus provides no executable, so we made one
- cp props/auto-gpt {{prefix}}/venv/bin
- working-directory: "{{prefix}}/share"
- working-directory: '{{prefix}}/share'
run: |
cp $SRCROOT/.env.template env.template
cp $SRCROOT/prompt_settings.yaml .

View file

@ -13,12 +13,9 @@ platforms:
- linux
build:
dependencies:
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
@ -30,7 +27,6 @@ provides:
- bin/aserver
test:
dependencies:
script:
- cc test.c -lasound -o test
- ./test
- ./test

View file

@ -6,7 +6,6 @@ versions:
github: apache/apr/tags
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }}
@ -34,7 +33,6 @@ build:
- --disable-debug
test:
dependencies:
fixture: |
#include <stdio.h>
#include <apr-1/apr_version.h>

View file

@ -36,7 +36,6 @@ build:
provides:
- bin/assimp
test:
dependencies:
script:
- cc -std=c++11 test.cpp -lassimp -o test
- ./test

View file

@ -8,10 +8,7 @@ versions:
dependencies:
zlib.net: '*'
build:
dependencies:
script: |
make LDFLAGS=-lz PREFIX={{prefix}} install
build: make LDFLAGS=-lz PREFIX={{prefix}} install
provides:
- bin/bcrypt
@ -23,4 +20,3 @@ test:
mv test.txt.bfe test.out.txt.bfe
printf '12345678\n' | bcrypt -r test.out.txt.bfe
cat test.out.txt

View file

@ -10,7 +10,6 @@ dependencies:
facebook.com/zstd: ^1
build:
dependencies:
script:
- ./bootstrap.sh --prefix={{ prefix }}
- ./b2 $ARGS
@ -36,7 +35,6 @@ build:
- linkflags=-fPIC
test:
dependencies:
script: |
c++ test.cpp -std=c++14 -lboost_iostreams -lzstd
./a.out

View file

@ -10,7 +10,6 @@ versions:
- /.tar.gz/
build:
dependencies:
script: |
./configure --prefix={{ prefix }}
make --jobs {{hw.concurrency}}
@ -22,7 +21,6 @@ build:
LDFLAGS: -headerpad_max_install_names $LDFLAGS
LDXXFLAGS: -headerpad_max_install_names $LDXXFLAGS
test:
dependencies:
script: |
cc test.c -o test -lmpdec
./test

View file

@ -18,7 +18,6 @@ build:
make --jobs {{hw.concurrency}} install
test:
dependencies:
fixture: |
#include <stdio.h>
#include <ares.h>

View file

@ -55,7 +55,6 @@ build:
working-directory: ${{ prefix }}/lib
test:
dependencies:
script:
- cc test.c -lcairo
- ./a.out

View file

@ -10,7 +10,6 @@ provides:
- bin/cstool
build:
dependencies:
script: |
./make.sh
make install PREFIX={{ prefix }}
@ -25,7 +24,6 @@ build:
rm capstone.pc.bak
test:
dependencies:
script: |
mv $FIXTURE test.c
gcc test.c -lcapstone -o test

View file

@ -10,9 +10,6 @@ provides:
- bin/superhack
build:
dependencies:
#pagure.io/xmlto: '*'
script: |
make wumpus superhack
# When xmlto is packaged then switch the to `make ... install`

View file

@ -17,17 +17,16 @@ dependencies:
provides:
darwin:
- bin/cmake
- bin/ccmake
- bin/cpack
- bin/ctest
- bin/cmake
- bin/ccmake
- bin/cpack
- bin/ctest
linux:
- bin/cmake
- bin/cpack
- bin/ctest
- bin/cmake
- bin/cpack
- bin/ctest
build:
dependencies:
script: |-
./bootstrap $ARGS
make --jobs {{ hw.concurrency }} install
@ -48,24 +47,21 @@ build:
- -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
darwin:
ARGS:
- -DZLIB_LIBRARY={{deps.zlib.net.prefix}}/lib/libz.dylib
- -DZLIB_INCLUDE_DIR={{deps.zlib.net.prefix}}/include
- -DCURL_LIBRARY={{deps.curl.se.prefix}}/lib/libcurl.dylib
- -DCURL_INCLUDE_DIR={{deps.curl.se.prefix}}/include
- -DBZIP2_LIBRARIES={{deps.sourceware.org/bzip2.prefix}}/lib/libbz2.a
- -DBZIP2_INCLUDE_DIR={{deps.sourceware.org/bzip2.prefix}}/include
- -DZLIB_LIBRARY={{deps.zlib.net.prefix}}/lib/libz.dylib
- -DZLIB_INCLUDE_DIR={{deps.zlib.net.prefix}}/include
- -DCURL_LIBRARY={{deps.curl.se.prefix}}/lib/libcurl.dylib
- -DCURL_INCLUDE_DIR={{deps.curl.se.prefix}}/include
- -DBZIP2_LIBRARIES={{deps.sourceware.org/bzip2.prefix}}/lib/libbz2.a
- -DBZIP2_INCLUDE_DIR={{deps.sourceware.org/bzip2.prefix}}/include
linux:
ARGS:
- -DZLIB_LIBRARY={{deps.zlib.net.prefix}}/lib/libz.so
- -DZLIB_INCLUDE_DIR={{deps.zlib.net.prefix}}/include
- -DCURL_LIBRARY={{deps.curl.se.prefix}}/lib/libcurl.so
- -DCURL_INCLUDE_DIR={{deps.curl.se.prefix}}/include
- -DBZIP2_LIBRARIES={{deps.sourceware.org/bzip2.prefix}}/lib/libbz2.so
- -DBZIP2_INCLUDE_DIR={{deps.sourceware.org/bzip2.prefix}}/include
- -DZLIB_LIBRARY={{deps.zlib.net.prefix}}/lib/libz.so
- -DZLIB_INCLUDE_DIR={{deps.zlib.net.prefix}}/include
- -DCURL_LIBRARY={{deps.curl.se.prefix}}/lib/libcurl.so
- -DCURL_INCLUDE_DIR={{deps.curl.se.prefix}}/include
- -DBZIP2_LIBRARIES={{deps.sourceware.org/bzip2.prefix}}/lib/libbz2.so
- -DBZIP2_INCLUDE_DIR={{deps.sourceware.org/bzip2.prefix}}/include
error-log:
Bootstrap.cmk/cmake_bootstrap.log
error-log: Bootstrap.cmk/cmake_bootstrap.log
test:
script:
cmake --version
test: cmake --version

View file

@ -12,7 +12,6 @@ dependencies:
git-scm.org: ^2
build:
dependencies:
env:
GEM_HOME: ${{prefix}}
GEM_PATH: ${{prefix}}
@ -26,8 +25,7 @@ build:
- run: |
mv {{prefix}}/bin/* .
cp $SRCROOT/props/proxy {{prefix}}/bin/pod
working-directory:
${{prefix}}/gems/bin
working-directory: ${{prefix}}/gems/bin
provides:
- bin/pod
@ -36,5 +34,4 @@ test:
env:
# some of our test containers are raw and thus run as root
COCOAPODS_ALLOW_ROOT: 1
script:
pod --version
script: pod --version

View file

@ -27,7 +27,6 @@ build:
- --prefix="{{prefix}}"
test:
dependencies:
script: |
cc -o test test.c -laribb24
./test

View file

@ -12,8 +12,7 @@ build:
# FIXME: >=0.49<1
mesonbuild.com: '>=0.49'
ninja-build.org: 1
working-directory:
build
working-directory: build
script: |
meson .. --prefix={{prefix}} --libdir={{prefix}}/lib --buildtype=release
ninja -v

View file

@ -5,9 +5,9 @@ distributable:
versions:
github: miyagawa/cpanminus/tags
ignore:
- /^1.9/ # invalid versions in the tags for some reason
- /^1.79/ # ^^
- /^1.71/ # ^^ like wtf?
- /^1.9/ # invalid versions in the tags for some reason
- /^1.79/ # ^^
- /^1.71/ # ^^ like wtf?
dependencies:
perl.org: '*'
@ -18,14 +18,10 @@ provides:
- bin/cpanm
build:
dependencies:
script: |
perl Makefile.PL INSTALL_BASE={{prefix}}
make install
fix-shebangs.ts {{prefix}}/bin/cpanm
test:
dependencies:
script:
cpanm --verbose --local-lib=./out Test::More
test: cpanm --verbose --local-lib=./out Test::More

View file

@ -17,7 +17,6 @@ dependencies:
invisible-island.net/ncurses: '*'
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
@ -32,5 +31,4 @@ provides:
- bin/cscope
- bin/ocs
test:
cscope -V 2>&1 | grep {{version.marketing}}
test: cscope -V 2>&1 | grep {{version.marketing}}

View file

@ -7,7 +7,7 @@ provides:
versions:
url: https://dev.yorhel.nl/download/
match: /ncdu-1\.\d+(\.\d+)?\.tar\.gz/ # v2 is `zig`, which is a whole thing
match: /ncdu-1\.\d+(\.\d+)?\.tar\.gz/ # v2 is `zig`, which is a whole thing
strip:
- /ncdu-/
- /.tar.gz/
@ -16,7 +16,6 @@ dependencies:
invisible-island.net/ncurses: '*'
build:
dependencies:
script: |
./configure $ARGS
make -j {{ hw.concurrency }} install

View file

@ -32,7 +32,6 @@ provides:
- bin/fido2-token
test:
dependencies:
script:
- mv $FIXTURE test.c
- cc test.c -o test -lfido2

View file

@ -10,13 +10,11 @@ build:
dependencies:
linux:
gnu.org/gcc: '*'
darwin:
script: |
./configure --prefix="{{prefix}}"
make --jobs {{ hw.concurrency }} install
test:
dependencies:
script: |
cc fixture.c -ljansson
./a.out
./a.out

View file

@ -7,7 +7,6 @@ versions:
strip: /^v/
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
@ -16,6 +15,5 @@ build:
- --prefix="{{prefix}}"
test:
dependencies:
script: |
cc -o testlibaec fixture.cpp -laec

View file

@ -7,12 +7,9 @@ versions:
strip: /v/
dependencies:
erlang.org: "*"
erlang.org: '*'
build:
dependencies:
script: |
make install
build: make install
provides:
- bin/elixir

View file

@ -33,7 +33,6 @@ build:
- -DBUILD_TESTING=OFF
test:
dependencies:
script: |
g++ -std=c++17 test.cc -o test -ledencommon_utils -lfolly
./test | grep test

View file

@ -1,6 +1,6 @@
distributable:
url: https://github.com/facebook/folly/releases/download/{{version.tag}}/folly-{{version.tag}}.tar.gz
strip-components: 0
url: https://github.com/facebook/folly/releases/download/{{version.tag}}/folly-{{version.tag}}.tar.gz
strip-components: 0
versions:
github: facebook/folly
@ -80,7 +80,6 @@ build:
- -DCMAKE_EXE_LINKER_FLAGS=-pie
test:
dependencies:
fixture: |
#include <folly/FBVector.h>
int main() {

View file

@ -8,8 +8,7 @@ versions:
build:
dependencies:
cmake.org: ^3
working-directory:
build
working-directory: build
script: |
cmake .. $ARGS
make --jobs {{ hw.concurrency }} install
@ -24,7 +23,6 @@ build:
- -DCMAKE_EXE_LINKER_FLAGS=-pie
test:
dependencies:
fixture: |
#include <iostream>
#include <string>

View file

@ -10,7 +10,6 @@ versions:
- /\.tar\.gz$/
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
@ -25,5 +24,4 @@ provides:
- bin/cppunit-config
- bin/DllPlugInTester
test:
cppunit-config --version | grep {{version}}
test: cppunit-config --version | grep {{version}}

View file

@ -10,7 +10,6 @@ versions:
- /.tar.xz/
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
@ -18,5 +17,4 @@ build:
ARGS:
- --prefix="{{prefix}}"
test:
test -e "{{prefix}}/share/icons/hicolor/index.theme" && exit 0 || exit 1
test: test -e "{{prefix}}/share/icons/hicolor/index.theme" && exit 0 || exit 1

View file

@ -17,7 +17,6 @@ versions:
strip: /^pkg-config-/
build:
dependencies:
script: |-
./configure $ARGS
make --jobs {{ hw.concurrency }} install

View file

@ -18,14 +18,13 @@ build:
ninja -C build install all
env:
ARGS:
- -Ddefault_library=both
- -Ddefault_library=both
- --prefix={{ prefix }}
- --libdir={{ prefix }}/lib
- --buildtype=release
- --wrap-mode=nofallback
test:
dependencies:
script: |
mv $FIXTURE test.c
gcc test.c -lslirp -o test

View file

@ -26,7 +26,6 @@ build:
- -DWITHOUT_GAVL=ON
test:
dependencies:
script: |
cc test.c -o test
./test

View file

@ -39,7 +39,6 @@ test:
printf("%s", freexl_version());
return 0;
}
dependencies:
script: |
mv $FIXTURE test.c
cc test.c -lfreexl

View file

@ -27,7 +27,6 @@ build:
- -Wno-dev
- -DBUILD_TESTING=OFF
test:
dependencies:
script:
- run: cc -lgl2ps -framework OpenGL -framework GLUT -framework Cocoa test_darwin.c -o testfile
if: darwin
@ -35,4 +34,4 @@ test:
if: linux
# - ./testfile
# We cannot run ./testfile due to the absence of a display.
- ls . | grep testfile
- ls . | grep testfile

View file

@ -1,30 +1,27 @@
distributable:
url: https://github.com/gflags/gflags/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
url: https://github.com/gflags/gflags/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: gflags/gflags/tags
strip: /^v/
build:
dependencies:
cmake.org: '*'
working-directory: buildroot
script: |
cmake $ARGS ..
make --jobs {{ hw.concurrency }}
make --jobs {{ hw.concurrency }}
make install
env:
ARGS:
env:
ARGS:
- -DCMAKE_INSTALL_PREFIX={{prefix}}
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_STATIC_LIBS=ON
- -DCMAKE_POSITION_INDEPENDENT_CODE=ON
test:
dependencies:
fixture: |
#include <iostream>
#include "gflags/gflags.h"
@ -49,4 +46,4 @@ test:
script: |
mv $FIXTURE test.cpp
g++ test.cpp -lgflags -o test
./test
./test

View file

@ -17,7 +17,6 @@ dependencies:
github.com/util-linux/util-linux: '*'
build:
dependencies:
script: make PREFIX={{prefix}} install
test: make test

View file

@ -19,7 +19,6 @@ runtime:
GIT_SSL_CAINFO: ${{deps.curl.se/ca-certs.prefix}}/ssl/cert.pem
build:
dependencies:
script: |
mv props/config.mak .
@ -48,12 +47,12 @@ build:
env:
V: 1
BAKE:
- --jobs {{ hw.concurrency }}
- NO_TCLTK=1
- --jobs {{ hw.concurrency }}
- NO_TCLTK=1
CONF:
- --prefix={{ prefix }}
- --with-perl={{ deps.perl.org.prefix }}
- --with-gitconfig=etc/gitconfig
- --prefix={{ prefix }}
- --with-perl={{ deps.perl.org.prefix }}
- --with-gitconfig=etc/gitconfig
INSTALL_STRIP: -s
test: |

View file

@ -28,7 +28,6 @@ build:
make install
test:
dependencies:
fixture: |
#include <librttopo.h>

View file

@ -1,6 +1,6 @@
distributable:
url: https://github.com/AOMediaCodec/libavif/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
url: https://github.com/AOMediaCodec/libavif/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: AOMediaCodec/libavif
@ -31,7 +31,6 @@ provides:
- bin/avifdec
test:
dependencies:
script: |
avifenc fixture.png test.avif
test -f test.avif

View file

@ -6,7 +6,6 @@ versions:
github: Cyan4973/xxHash
build:
dependencies:
script: |
make --jobs {{ hw.concurrency }}
make --jobs {{ hw.concurrency }} install $ARGS
@ -24,5 +23,4 @@ provides:
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion libxxhash | grep {{version}}
script: pkg-config --modversion libxxhash | grep {{version}}

View file

@ -11,15 +11,14 @@ build:
working-directory: build
script:
- cmake ..
-DCMAKE_INSTALL_PREFIX={{prefix}}
-DREPROC++=ON
-DBUILD_SHARED_LIBS=ON
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX={{prefix}}
-DREPROC++=ON
-DBUILD_SHARED_LIBS=ON
-DCMAKE_BUILD_TYPE=Release
- make --jobs {{hw.concurrency}} install
test:
dependencies:
script:
- fixture: |
#include <reproc/run.h>

View file

@ -21,7 +21,6 @@ build:
- -DCMAKE_BUILD_TYPE=Release
test:
dependencies:
script: |
mv $FIXTURE $FIXTURE.c
cc $FIXTURE.c -lcjson
@ -41,4 +40,4 @@ test:
}
cJSON_Delete(json);
return 0;
}
}

View file

@ -5,13 +5,9 @@ distributable:
versions:
github: JuliaStrings/utf8proc
build:
dependencies:
script:
make install prefix={{prefix}}
build: make install prefix={{prefix}}
test:
dependencies:
script: |
mv $FIXTURE fixture.c
cc fixture.c -lutf8proc
@ -23,4 +19,4 @@ test:
int main() {
const char *version = utf8proc_version();
return strnlen(version, sizeof("1.3.1-dev")) > 0 ? 0 : -1;
}
}

View file

@ -10,13 +10,12 @@ build:
cmake.org: '*'
script: |
cmake -S . -B build/ $ARGS
cmake --install build
cmake --install build
env:
ARGS:
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
test:
dependencies:
fixture: |
#include <stdio.h>
#include <vulkan/vulkan_core.h>

View file

@ -32,7 +32,6 @@ build:
- -Wno-dev
- -DBUILD_TESTING=OFF
test:
dependencies:
script:
- cc test.c -o test -lvulkan
- ./test

View file

@ -62,7 +62,6 @@ build:
- -DGEN_FILES=OFF
test:
dependencies:
script:
- printf '%s' 'This is a test file' > testfile.txt
- test "$(generic_sum SHA256 testfile.txt)" = "$SUM"

View file

@ -11,13 +11,10 @@ dependencies:
proj.org: '*'
build:
dependencies:
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }}
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
@ -32,8 +29,7 @@ provides:
- bin/listgeo
test:
dependencies:
script:
- cc test.c -ltiff -lgeotiff -o test
- ./test test.tiff
- listgeo test.tiff | grep GeogInvFlatteningGeoKey
- listgeo test.tiff | grep GeogInvFlatteningGeoKey

View file

@ -1,5 +1,6 @@
distributable:
url: https://github.com/P-H-C/phc-winner-argon2/archive/refs/tags/{{version.raw}}.tar.gz
strip-components: 1
versions:
github: P-H-C/phc-winner-argon2
@ -8,8 +9,6 @@ provides:
- bin/argon2
build:
dependencies:
working-directory: phc-winner-argon2-{{version.raw}}
script: |
make $ARGS
make test
@ -27,7 +26,6 @@ build:
ARGS:
- OPTTARGET=core2
test: |
printf '%s' 'password' | argon2 somesalt -t 2 -m 16 -p 4
output=$(printf '%s' 'password' | argon2 somesalt -t 2 -m 16 -p 4)

View file

@ -22,7 +22,6 @@ build:
- -DBUILD_SHARED_LIBS=ON
test:
dependencies:
fixture: |
#include "cbor.h"
#include <stdio.h>

View file

@ -7,20 +7,18 @@ versions:
aka: tl-expected
build:
dependencies:
cmake.org: ^3
working-directory: build
script:
- cmake ..
-DCMAKE_INSTALL_PREFIX={{prefix}}
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX={{prefix}}
-DCMAKE_BUILD_TYPE=Release
- make --jobs {{ hw.concurrency }} install
test:
dependencies:
fixture: |
#include <iostream>
#include <tl/expected.hpp>

View file

@ -15,13 +15,12 @@ provides:
- bin/xcodes
build:
dependencies:
# swift.org: 5
# apple.com/xcode: >=13.3
# dependencies:
# swift.org: 5
# apple.com/xcode: >=13.3
script: |
swift build --configuration release
mkdir -p {{prefix}}/bin
mv $(swift build --configuration release --show-bin-path)/xcodes {{prefix}}/bin
test:
xcodes version | grep {{version}}
test: xcodes version | grep {{version}}

View file

@ -7,7 +7,6 @@ versions:
strip: /^libunibreak /
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
@ -19,5 +18,4 @@ build:
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion libunibreak | grep {{version.marketing}}
script: pkg-config --modversion libunibreak | grep {{version.marketing}}

View file

@ -3,7 +3,7 @@ distributable:
strip-components: 1
versions:
github: adegtyarev/streebog/tags
github: adegtyarev/streebog/tags
build:
dependencies:
@ -20,5 +20,4 @@ provides:
- bin/gost3411-2012
test:
script:
test "$(gost3411-2012 -q -s tea)" = "d13f0f2f8958457d295209625ecc6efca774f2e079948d1fe0330dfee8d6eb2ff3f961ba3ba8ec71e8227e8e590eb1b128dc53fc4724c037c1b7e481d45d9c31"
script: test "$(gost3411-2012 -q -s tea)" = "d13f0f2f8958457d295209625ecc6efca774f2e079948d1fe0330dfee8d6eb2ff3f961ba3ba8ec71e8227e8e590eb1b128dc53fc4724c037c1b7e481d45d9c31"

View file

@ -16,7 +16,6 @@ build:
ninja-build.org: '*'
freedesktop.org/pkg-config: '*'
python.org: ^3.1
working-directory: build
script:
- run: "sed -i'' -e 's|auto|no|g' $HOME/../meson_options.txt"

View file

@ -23,10 +23,10 @@ build:
- cmake --install build
- |
cd {{prefix}}/include
mv aws/* .
rmdir aws
ln -s . aws
cd {{prefix}}/include
mv aws/* .
rmdir aws
ln -s . aws
env:
LDFLAGS: -Wl,-rpath,{{prefix}}
ARGS:
@ -35,7 +35,6 @@ build:
- -DENABLE_TESTING=OFF
test:
dependencies:
fixture: |
#include <aws/core/Version.h>
#include <iostream>

View file

@ -20,9 +20,6 @@ build:
linux:
openssl.org: '*'
freedesktop.org/pkg-config: '*'
script:
cargo install --locked --path . --root {{prefix}}
script: cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(dy --version)" = "dynein {{version}}"
test: test "$(dy --version)" = "dynein {{version}}"

View file

@ -20,7 +20,6 @@ build:
- --disable-failure-tokens
test:
dependencies:
script: |
cc -L{{prefix}}/lib -lcrypt fixture.c
./a.out

View file

@ -11,9 +11,7 @@ platforms: darwin
provides:
- bin/create-dmg
build:
dependencies:
script: make prefix={{prefix}} install
build: make prefix={{prefix}} install
test: |
create-dmg --version
touch Brew-Eula.txt

View file

@ -19,7 +19,6 @@ build:
- -DENABLE_DOUBLE_PRECISION=ON
test:
dependencies:
script: |
cc -o test test.c -lccd
./test
./test

View file

@ -10,9 +10,7 @@ dependencies:
github.com/jhford/screenresolution: '*'
build:
dependencies:
script:
make --jobs {{ hw.concurrency }} install
script: make --jobs {{ hw.concurrency }} install
env:
ARGS:
- PREFIX="{{prefix}}"
@ -20,5 +18,4 @@ build:
provides:
- bin/neofetch
test:
neofetch | grep $(uname -m)
test: neofetch | grep $(uname -m)

View file

@ -6,7 +6,7 @@ versions:
strip: /^release_v/
runtime:
env:
PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH"
PYTHONPATH: '{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH'
dependencies:
python.org: ^3.11
build:
@ -15,8 +15,5 @@ build:
- mkdir -p {{prefix}}/pkgshare
- cp -r examples {{prefix}}/pkgshare/
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
working-directory: "{{prefix}}/lib"
test:
dependencies:
script:
- python {{prefix}}/pkgshare/examples/c-to-c.py {{prefix}}/pkgshare/examples/c_files/basic.c
working-directory: '{{prefix}}/lib'
test: python {{prefix}}/pkgshare/examples/c-to-c.py {{prefix}}/pkgshare/examples/c_files/basic.c

View file

@ -50,7 +50,6 @@ build:
- -DCMAKE_EXE_LINKER_FLAGS=-pie
test:
dependencies:
fixture: |
#include <fizz/client/AsyncFizzClient.h>
#include <iostream>

View file

@ -16,17 +16,16 @@ build:
- 'sed -i.bak "s|// #define SPDLOG_FMT_EXTERNAL|#define SPDLOG_FMT_EXTERNAL|" ../include/spdlog/tweakme.h'
- cmake ..
-DSPDLOG_BUILD_BENCH=OFF
-DSPDLOG_BUILD_TESTS=OFF
-DSPDLOG_FMT_EXTERNAL=ON
-DSPDLOG_BUILD_SHARED=ON
-DCMAKE_INSTALL_PREFIX={{prefix}}
-DCMAKE_BUILD_TYPE=Release
-DSPDLOG_BUILD_BENCH=OFF
-DSPDLOG_BUILD_TESTS=OFF
-DSPDLOG_FMT_EXTERNAL=ON
-DSPDLOG_BUILD_SHARED=ON
-DCMAKE_INSTALL_PREFIX={{prefix}}
-DCMAKE_BUILD_TYPE=Release
- make --jobs {{ hw.concurrency }} install
test:
dependencies:
fixture: |
#include "spdlog/sinks/basic_file_sink.h"
#include <iostream>

View file

@ -6,25 +6,20 @@ versions:
github: gofireflyio/aiac
strip: /^v /
dependencies:
# __DEP__: __DEP_VERSION__
build:
dependencies:
go.dev: ^1.18
# __DEP__: __DEP_VERSION__
script: |
go build -v -ldflags="$LDFLAGS"
mkdir -p "{{ prefix }}"/bin
mv aiac "{{ prefix }}"/bin
env:
LDFLAGS:
[-s, -w, "-X=main.Version={{version}}"]
LDFLAGS: [-s, -w, '-X=main.Version={{version}}']
linux:
# or segmentation fault
# fix found here https://github.com/docker-library/golang/issues/402#issuecomment-982204575
LDFLAGS:
- -buildmode=pie
- -buildmode=pie
provides:
- bin/aiac

View file

@ -3,7 +3,7 @@ distributable:
strip-components: 1
versions:
- 2023.3.1 # FIXME: the versions are "yyyy-mm-dd" but no idea how I can parse this without regex
- 2023.3.1 # FIXME: the versions are "yyyy-mm-dd" but no idea how I can parse this without regex
build:
dependencies:
@ -28,7 +28,6 @@ build:
- -DRE2_BUILD_TESTING=OFF
test:
dependencies:
fixture: |
#include <re2/re2.h>
#include <assert.h>

View file

@ -6,8 +6,6 @@ versions:
github: ivmai/libatomic_ops
build:
dependencies:
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }}
@ -21,4 +19,4 @@ build:
test:
dependencies:
freedesktop.org/pkg-config: '*'
script: pkg-config --modversion atomic_ops | grep {{version}}
script: pkg-config --modversion atomic_ops | grep {{version}}

View file

@ -7,7 +7,6 @@ versions:
strip: /^v/
build:
dependencies:
script: |
make --jobs {{ hw.concurrency }} lolcat
mkdir -p {{prefix}}/bin

View file

@ -14,15 +14,14 @@ build:
working-directory: build
script:
- cmake ..
-DCMAKE_INSTALL_PREFIX={{prefix}}
-DYAML_BUILD_SHARED_LIBS=ON
-DYAML_CPP_BUILD_TESTS=OFF
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX={{prefix}}
-DYAML_BUILD_SHARED_LIBS=ON
-DYAML_CPP_BUILD_TESTS=OFF
-DCMAKE_BUILD_TYPE=Release
- make --jobs {{hw.concurrency}} install
test:
dependencies:
fixture: |
#include <yaml-cpp/yaml.h>
int main() {

View file

@ -11,7 +11,6 @@ platforms:
- darwin
build:
dependencies:
script: |
curl $PATCH | patch -p1 || true
make
@ -23,5 +22,4 @@ build:
provides:
- bin/screenresolution
test:
screenresolution get
test: screenresolution get

View file

@ -6,7 +6,7 @@ versions:
github: json-c/json-c/tags
strip:
- /^json-c-/
- /-\d{8}/ # calver
- /-\d{8}/ # calver
build:
dependencies:
@ -17,7 +17,6 @@ build:
make --jobs {{ hw.concurrency }} install
test:
dependencies:
script: |
cc fixture.c -ljson-c
./a.out

View file

@ -12,13 +12,12 @@ provides:
- bin/swift-outdated
build:
dependencies:
# swift.org: ^5.8
# apple.com/xcode: >=14
# dependencies:
# swift.org: ^5.8
# apple.com/xcode: >=14
script:
- swift build --configuration release
- mkdir -p {{prefix}}/bin
- mv $(swift build --configuration release --show-bin-path)/swift-outdated {{prefix}}/bin
test:
swift-outdated --version | grep {{version}}
test: swift-outdated --version | grep {{version}}

View file

@ -10,7 +10,6 @@ provides:
- bin/onig-config
build:
dependencies:
script: |
./configure --disable-dependency-tracking --prefix={{prefix}}
make install

View file

@ -31,10 +31,9 @@ build:
- --prefix={{prefix}}
darwin:
ARGS:
- --disable-fontconfig # libass uses coretext on macOS, fontconfig on Linux
- --disable-fontconfig # libass uses coretext on macOS, fontconfig on Linux
test:
dependencies:
script: |
c++ test.cpp -lass -o test
./test

View file

@ -25,7 +25,6 @@ build:
- -DBUILD_TESTING=OFF
test:
dependencies:
fixture: |
#include <assert.h>
#include <samplerate.h>

View file

@ -9,7 +9,6 @@ dependencies:
go.dev: '*'
build:
dependencies:
script: go build $ARGS
env:
ARGS:
@ -21,7 +20,7 @@ provides:
test:
env:
GO111MODULE: "auto"
GO111MODULE: 'auto'
dependencies:
gnu.org/wget: '*'
go.dev: '*'
@ -30,4 +29,4 @@ test:
- tar -xz -fgo-starter-2023-05-03.tar.gz
- cd ./go-starter-go-starter-2023-05-03
- gox -arch amd64 -os darwin -os freebsd
- test -x ./go-starter_darwin_amd64
- test -x ./go-starter_darwin_amd64

View file

@ -1,23 +1,20 @@
distributable:
url: "https://github.com/mxcl/swift-sh/archive/{{version}}.tar.gz"
# this obscure option dictates how many components are removed from the
# extracted tarball.
url: 'https://github.com/mxcl/swift-sh/archive/{{version}}.tar.gz'
strip-components: 1
versions:
github: mxcl/swift-sh # reads github release tags
github: mxcl/swift-sh
platforms:
- darwin
# - linux/x86-64
dependencies:
# swift.org: 5
# dependencies:
# swift.org: 5
build:
dependencies:
# swift.org: 5
# apple.com/xcode: >=11
# dependencies:
# swift.org: 5
# apple.com/xcode: >=11
script:
- swift build --disable-sandbox -c release
- mkdir -p {{prefix}}/bin

View file

@ -12,13 +12,12 @@ provides:
- bin/swiftformat
build:
dependencies:
# swift.org: 5
# apple.com/xcode: >=13.3
# dependencies:
# swift.org: 5
# apple.com/xcode: >=13.3
script: |
swift build --configuration release
mkdir -p {{prefix}}/bin
mv $(swift build --configuration release --show-bin-path)/swiftformat {{prefix}}/bin
test:
swiftformat --version | grep {{version}}
test: swiftformat --version | grep {{version}}

View file

@ -9,7 +9,6 @@ provides:
- bin/gpt4all
build:
dependencies:
script: |
mkdir -p {{prefix}}/bin {{prefix}}/tbin
@ -22,5 +21,4 @@ build:
test: |
{{prefix}}/tbin/gpt4all --help
# testing more than this requires downloading the models 😬
entrypoint: gpt4all

View file

@ -5,6 +5,8 @@ distributable:
versions:
github: numactl/numactl
platforms: linux
build:
dependencies:
gnu.org/autoconf: 2
@ -12,14 +14,6 @@ build:
gnu.org/libtool: 2
gnu.org/m4: 1
script: |
# numa is linux only
if test {{ hw.platform }} != "linux"
then
mkdir -p "{{ prefix }}/bin"
touch {{ prefix }}/not-used-on-darwin
exit
fi
./autogen.sh
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install
@ -27,9 +21,6 @@ build:
ACLOCAL_PATH: ${{ deps.gnu.org/libtool.prefix }}/share/aclocal
test:
dependencies:
script: |
if test {{ hw.platform }} != "linux"; then exit; fi
cc -lnuma mynode.c
./a.out

View file

@ -21,7 +21,6 @@ build:
- --wrap-mode=nofallback
test:
dependencies:
script: |
g++ -std=c++11 ./test.cpp -o test -ljsoncpp
./test
./test

View file

@ -1,37 +1,37 @@
distributable:
url: https://github.com/p7zip-project/p7zip/archive/v{{version.raw}}.tar.gz
strip-components: 1
url: https://github.com/p7zip-project/p7zip/archive/v{{version.raw}}.tar.gz
strip-components: 1
versions:
github: p7zip-project/p7zip # reads github release *names*
github: p7zip-project/p7zip # reads github release *names*
strip: /^p7zip /
build:
dependencies:
script: |
if test {{ hw.platform }} = darwin; then
mv makefile.macosx_llvm_64bits makefile.machine
else
mv makefile.linux_any_cpu makefile.machine
sed -i.bak -e 's/-std=gnu/-fPIC -std=gnu/' \
C/makefile.glb \
CPP/7zip/CMAKE/CMakeLists.txt \
makefile.glb
rm C/makefile.glb.bak \
CPP/7zip/CMAKE/CMakeLists.txt.bak \
makefile.glb.bak
fi
script:
- run: mv makefile.macosx_llvm_64bits makefile.machine
if: darwin
- run: |
mv makefile.linux_any_cpu makefile.machine
sed -i.bak -e 's/-std=gnu/-fPIC -std=gnu/' \
C/makefile.glb \
CPP/7zip/CMAKE/CMakeLists.txt \
makefile.glb
rm C/makefile.glb.bak \
CPP/7zip/CMAKE/CMakeLists.txt.bak \
makefile.glb.bak
if: linux
make --jobs {{ hw.concurrency }} all3
make DEST_HOME={{prefix}} DEST_MAN={{prefix}}/man install
- make --jobs {{ hw.concurrency }} all3
- make DEST_HOME={{prefix}} DEST_MAN={{prefix}}/man install
# relocatability
cd "{{prefix}}/bin"
for x in *; do
echo "#!/bin/sh" > $x
echo 'd="$(cd "$(dirname "$0")/.." && pwd)"' >> $x
echo "exec \"\$d\"/lib/p7zip/$x \"\$@\"" >> $x
done
- run: |
for x in *; do
echo "#!/bin/sh" > $x
echo 'd="$(cd "$(dirname "$0")/.." && pwd)"' >> $x
echo "exec \"\$d\"/lib/p7zip/$x \"\$@\"" >> $x
done
working-directory: ${{prefix}}/bin
provides:
- bin/7z
@ -43,5 +43,4 @@ test:
7z a -t7z foo.7z $FIXTURE
7z e foo.7z -oout
test "hello world!" = "$(cat out/*)"
fixture:
hello world!
fixture: hello world!

View file

@ -5,12 +5,9 @@ distributable:
versions:
github: postmodern/chruby
build:
dependencies:
script:
make --jobs {{ hw.concurrency }} install
build: make --jobs {{ hw.concurrency }} install
provides:
- bin/chruby-exec
test:
chruby-exec --version | grep {{version}}
test: chruby-exec --version | grep {{version}}

View file

@ -9,11 +9,9 @@ dependencies:
tukaani.org/xz: '*'
build:
dependencies:
script: make --jobs {{ hw.concurrency }} install PREFIX="{{prefix}}"
provides:
- bin/ruby-install
test: ruby-install --version | grep {{version.marketing}}
test: ruby-install --version | grep {{version.marketing}}

View file

@ -6,7 +6,6 @@ versions:
dependencies:
ruby-lang.org: '*'
build:
dependencies:
script:
- src/configure
- make -C src

View file

@ -8,10 +8,8 @@ versions:
github: redis/hiredis
build:
dependencies:
script: |
make install $ARGS
env:
ARGS:
- PREFIX="{{prefix}}"
@ -22,5 +20,4 @@ build:
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion hiredis | grep {{version}}
script: pkg-config --modversion hiredis | grep {{version}}

View file

@ -20,7 +20,6 @@ build:
provides:
- bin/paper
test:
dependencies:
script:
- paper --version | grep {{version}}
- cc test.c -lpaper -o test

View file

@ -7,7 +7,6 @@ dependencies:
python.org: ^3.11
github.com/rrthomas/libpaper: '*'
build:
dependencies:
script:
- rm -r props
- python-venv.sh {{prefix}}/bin/psbook
@ -31,4 +30,4 @@ test:
- psbook expected.ps book.ps 2>&1 | grep "Wrote 4 pages"
- psnup -2 expected.ps nup.ps 2>&1 | grep "Wrote 2 pages"
- psselect -p1 expected.ps test2.ps 2>&1 | grep "Wrote 1 pages"
- psbook --version | grep {{version}}
- psbook --version | grep {{version}}

View file

@ -19,7 +19,4 @@ build:
ARGS:
- --prefix="{{prefix}}"
test:
dependencies:
script:
cc test.c -lzimg -o test
test: cc test.c -lzimg -o test

View file

@ -14,14 +14,13 @@ build:
cmake --build build
cmake --install build
env:
LD_LIBRARY_PATH: "{{deps.gnu.org/gcc.prefix}}"
LD_LIBRARY_PATH: '{{deps.gnu.org/gcc.prefix}}'
ARGS:
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
- -DENABLE_LIBCXX="ON"
- -DCPPTOML_BUILD_EXAMPLES=OFF
test:
dependencies:
script: |
g++ -std=c++11 -I {{prefix}}/include test.cc -o test
./test | grep "Hello, Tea"
./test | grep "Hello, Tea"

View file

@ -9,7 +9,7 @@ versions:
strip: /^libnl/
platforms:
- linux
- linux
build:
dependencies:
@ -30,12 +30,11 @@ build:
- --disable-silent-rules
test:
dependencies:
script:
- gcc ./fixture.c -lnl-3 -lnl-route-3 -o test
- (./test 2>&1 || true) | grep "$OUT"
- nl-route-list | grep "$OUT2"
env:
OUT: "Unable to delete link: Operation not permitted"
OUT: 'Unable to delete link: Operation not permitted'
OUT2: inet 127.0.0.1

View file

@ -11,7 +11,6 @@ dependencies:
gnu.org/m4: ^1
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
@ -22,13 +21,12 @@ build:
- --disable-bootstrap
- --enable-shared
darwin:
MACOSX_DEPLOYMENT_TARGET: 10.6 #FIXME our default (11) breaks the build
MACOSX_DEPLOYMENT_TARGET: 10.6 #FIXME our default (11) breaks the build
linux:
# Fix segmentation fault during install on Ubuntu
CPPFLAGS: -D_GNU_SOURCE
test:
dependencies:
script: |
flex test.flex
cc lex.yy.c -lfl

View file

@ -6,9 +6,7 @@ versions:
github: zsh-users/zsh-syntax-highlighting/tags
build:
dependencies:
#charm.sh/gum: '*'
script:
script:
- make --jobs {{ hw.concurrency }} install
# Users need to source this in their zsh configs
# - export ZSH_HIGHLIGHTING={{prefix}}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

View file

@ -8,11 +8,7 @@ versions:
build:
dependencies:
linux:
gnu.org/gcc: "*"
darwin:
gnu.org/gcc: '*'
script: |
make
make $ARGS install
@ -30,20 +26,20 @@ build:
CC: cc
CFLAGS: -O2 -Wall -fomit-frame-pointer -no-cpp-precomp
test:
script: |
script:
# prepare for tests
mkdir -p foo/bar
mkdir -p foo/buzz
touch foo/buzz/lupus.txt
- mkdir -p foo/bar
- mkdir -p foo/buzz
- touch foo/buzz/lupus.txt
# run tests
tree --version | grep 'tree v{{version}}'
out="$(tree . )"
echo $out | grep lupus.txt # test for files found
echo $out | grep bar # test for level 2 dirs found
echo $out | grep buzz # ^
echo $out | grep '4 directories, 2 files'
tree .
- tree --version | grep 'tree v{{version}}'
- out="$(tree . )"
- echo $out | grep lupus.txt # test for files found
- echo $out | grep bar # test for level 2 dirs found
- echo $out | grep buzz # ^
- echo $out | grep '4 directories, 2 files'
- tree .
provides:
- bin/tree

View file

@ -33,17 +33,16 @@ build:
- -Wno-error=deprecated-declarations
linux:
CXXFLAGS:
- -Wno-error=implicit-int-float-conversion
- -Wno-error=implicit-int-float-conversion
linux/x86-64:
CXXFLAGS:
- -fPIC
- -fPIC
# runtime:
# env:
# CPATH: /usr/include/c++
test:
dependencies:
fixture: |
#include <glm/vec2.hpp>// glm::vec2
int main() {
@ -60,4 +59,4 @@ test:
script: |
mv $FIXTURE b.cpp
c++ b.cpp
./a.out
./a.out

View file

@ -28,11 +28,10 @@ build:
env:
ARGS:
- --prefix={{prefix}}
- --without-python # we dont yet know how to support this
- --without-plugins # doesnt build and we couldnt debug
- --without-python # we dont yet know how to support this
- --without-plugins # doesnt build and we couldnt debug
test:
dependencies:
script: |
cc `xslt-config --cflags --libs` test.c
./a.out

View file

@ -10,7 +10,6 @@ versions:
- /.tar.xz/
build:
dependencies:
script:
- ./configure --prefix="{{ prefix }}"
- make --jobs {{ hw.concurrency }} install

View file

@ -48,7 +48,6 @@ build:
perl -pi -e 's|{{prefix}}|\$PREFIX|' share/autoconf/autom4te.cfg
test:
dependencies:
script: |
autoconf --verbose --debug
./configure

View file

@ -36,12 +36,11 @@ build:
fix-shebangs.ts bin/*
env:
PERL5LIB: "{{prefix}}/share/automake-{{version.marketing}}"
PERL5LIB: '{{prefix}}/share/automake-{{version.marketing}}'
# TODO to prove automake doesn't require autoconf we should
# use “depend” on the autoconf test to generate our `configure` separately
test:
dependencies:
script: |
aclocal
automake --add-missing --foreign

View file

@ -18,7 +18,6 @@ interprets:
args: [bash, -e]
build:
dependencies:
script: |
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install
@ -27,6 +26,4 @@ build:
# non-interactively from sshd. macOSs bash does this so users expect it.
CFLAGS: $CFLAGS -DSSH_SOURCE_BASHRC
test:
script: |
bash -c "set -o pipefail"
test: bash -c "set -o pipefail"

View file

@ -10,18 +10,16 @@ dependencies:
gnu.org/m4: 1
build:
dependencies:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
M4: m4 # or fails on Linux
M4: m4 # or fails on Linux
ARGS:
- --prefix={{ prefix }}
- --enable-relocatable
test:
dependencies:
script: |
bison test.y
c++ test.tab.c

View file

@ -10,115 +10,114 @@ versions:
- /.tar.gz/
provides:
- bin/[
- bin/b2sum
- bin/base32
- bin/base64
- bin/basename
- bin/basenc
- bin/cat
- bin/chcon
- bin/chgrp
- bin/chmod
- bin/chown
- bin/chroot
- bin/cksum
- bin/comm
- bin/cp
- bin/csplit
- bin/cut
- bin/date
- bin/dd
- bin/df
- bin/dir
- bin/dircolors
- bin/dirname
- bin/du
- bin/echo
- bin/env
- bin/expand
- bin/expr
- bin/factor
- bin/false
- bin/fmt
- bin/fold
- bin/groups
- bin/head
- bin/hostid
- bin/id
- bin/install
- bin/join
- bin/kill
- bin/link
- bin/ln
- bin/logname
- bin/ls
- bin/md5sum
- bin/mkdir
- bin/mkfifo
- bin/mknod
- bin/mktemp
- bin/mv
- bin/nice
- bin/nl
- bin/nohup
- bin/nproc
- bin/numfmt
- bin/od
- bin/paste
- bin/pathchk
- bin/pinky
- bin/pr
- bin/printenv
- bin/printf
- bin/ptx
- bin/pwd
- bin/readlink
- bin/realpath
- bin/rm
- bin/rmdir
- bin/runcon
- bin/seq
- bin/sha1sum
- bin/sha224sum
- bin/sha256sum
- bin/sha384sum
- bin/sha512sum
- bin/shred
- bin/shuf
- bin/sleep
- bin/sort
- bin/split
- bin/stat
- bin/stdbuf
- bin/stty
- bin/sum
- bin/sync
- bin/tac
- bin/tail
- bin/tee
- bin/test
- bin/timeout
- bin/touch
- bin/tr
- bin/true
- bin/truncate
- bin/tsort
- bin/tty
- bin/uname
- bin/unexpand
- bin/uniq
- bin/unlink
- bin/uptime
- bin/users
- bin/vdir
- bin/wc
- bin/who
- bin/whoami
- bin/yes
- bin/[
- bin/b2sum
- bin/base32
- bin/base64
- bin/basename
- bin/basenc
- bin/cat
- bin/chcon
- bin/chgrp
- bin/chmod
- bin/chown
- bin/chroot
- bin/cksum
- bin/comm
- bin/cp
- bin/csplit
- bin/cut
- bin/date
- bin/dd
- bin/df
- bin/dir
- bin/dircolors
- bin/dirname
- bin/du
- bin/echo
- bin/env
- bin/expand
- bin/expr
- bin/factor
- bin/false
- bin/fmt
- bin/fold
- bin/groups
- bin/head
- bin/hostid
- bin/id
- bin/install
- bin/join
- bin/kill
- bin/link
- bin/ln
- bin/logname
- bin/ls
- bin/md5sum
- bin/mkdir
- bin/mkfifo
- bin/mknod
- bin/mktemp
- bin/mv
- bin/nice
- bin/nl
- bin/nohup
- bin/nproc
- bin/numfmt
- bin/od
- bin/paste
- bin/pathchk
- bin/pinky
- bin/pr
- bin/printenv
- bin/printf
- bin/ptx
- bin/pwd
- bin/readlink
- bin/realpath
- bin/rm
- bin/rmdir
- bin/runcon
- bin/seq
- bin/sha1sum
- bin/sha224sum
- bin/sha256sum
- bin/sha384sum
- bin/sha512sum
- bin/shred
- bin/shuf
- bin/sleep
- bin/sort
- bin/split
- bin/stat
- bin/stdbuf
- bin/stty
- bin/sum
- bin/sync
- bin/tac
- bin/tail
- bin/tee
- bin/test
- bin/timeout
- bin/touch
- bin/tr
- bin/true
- bin/truncate
- bin/tsort
- bin/tty
- bin/uname
- bin/unexpand
- bin/uniq
- bin/unlink
- bin/uptime
- bin/users
- bin/vdir
- bin/wc
- bin/who
- bin/whoami
- bin/yes
build:
dependencies:
script: |
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install

Some files were not shown because too many files have changed in this diff Show more