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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -7,7 +7,7 @@ provides:
versions: versions:
url: https://dev.yorhel.nl/download/ 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: strip:
- /ncdu-/ - /ncdu-/
- /.tar.gz/ - /.tar.gz/
@ -16,7 +16,6 @@ dependencies:
invisible-island.net/ncurses: '*' invisible-island.net/ncurses: '*'
build: build:
dependencies:
script: | script: |
./configure $ARGS ./configure $ARGS
make -j {{ hw.concurrency }} install make -j {{ hw.concurrency }} install

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -6,7 +6,7 @@ versions:
strip: /^release_v/ strip: /^release_v/
runtime: runtime:
env: 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: dependencies:
python.org: ^3.11 python.org: ^3.11
build: build:
@ -15,8 +15,5 @@ build:
- mkdir -p {{prefix}}/pkgshare - mkdir -p {{prefix}}/pkgshare
- cp -r examples {{prefix}}/pkgshare/ - cp -r examples {{prefix}}/pkgshare/
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}} - run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
working-directory: "{{prefix}}/lib" working-directory: '{{prefix}}/lib'
test: test: python {{prefix}}/pkgshare/examples/c-to-c.py {{prefix}}/pkgshare/examples/c_files/basic.c
dependencies:
script:
- 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 - -DCMAKE_EXE_LINKER_FLAGS=-pie
test: test:
dependencies:
fixture: | fixture: |
#include <fizz/client/AsyncFizzClient.h> #include <fizz/client/AsyncFizzClient.h>
#include <iostream> #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' - 'sed -i.bak "s|// #define SPDLOG_FMT_EXTERNAL|#define SPDLOG_FMT_EXTERNAL|" ../include/spdlog/tweakme.h'
- cmake .. - cmake ..
-DSPDLOG_BUILD_BENCH=OFF -DSPDLOG_BUILD_BENCH=OFF
-DSPDLOG_BUILD_TESTS=OFF -DSPDLOG_BUILD_TESTS=OFF
-DSPDLOG_FMT_EXTERNAL=ON -DSPDLOG_FMT_EXTERNAL=ON
-DSPDLOG_BUILD_SHARED=ON -DSPDLOG_BUILD_SHARED=ON
-DCMAKE_INSTALL_PREFIX={{prefix}} -DCMAKE_INSTALL_PREFIX={{prefix}}
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release
- make --jobs {{ hw.concurrency }} install - make --jobs {{ hw.concurrency }} install
test: test:
dependencies:
fixture: | fixture: |
#include "spdlog/sinks/basic_file_sink.h" #include "spdlog/sinks/basic_file_sink.h"
#include <iostream> #include <iostream>

View file

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

View file

@ -3,7 +3,7 @@ distributable:
strip-components: 1 strip-components: 1
versions: 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: build:
dependencies: dependencies:
@ -28,7 +28,6 @@ build:
- -DRE2_BUILD_TESTING=OFF - -DRE2_BUILD_TESTING=OFF
test: test:
dependencies:
fixture: | fixture: |
#include <re2/re2.h> #include <re2/re2.h>
#include <assert.h> #include <assert.h>

View file

@ -6,8 +6,6 @@ versions:
github: ivmai/libatomic_ops github: ivmai/libatomic_ops
build: build:
dependencies:
script: script:
- ./configure $ARGS - ./configure $ARGS
- make --jobs {{ hw.concurrency }} - make --jobs {{ hw.concurrency }}
@ -21,4 +19,4 @@ build:
test: test:
dependencies: dependencies:
freedesktop.org/pkg-config: '*' 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/ strip: /^v/
build: build:
dependencies:
script: | script: |
make --jobs {{ hw.concurrency }} lolcat make --jobs {{ hw.concurrency }} lolcat
mkdir -p {{prefix}}/bin mkdir -p {{prefix}}/bin

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -9,7 +9,6 @@ dependencies:
go.dev: '*' go.dev: '*'
build: build:
dependencies:
script: go build $ARGS script: go build $ARGS
env: env:
ARGS: ARGS:
@ -21,7 +20,7 @@ provides:
test: test:
env: env:
GO111MODULE: "auto" GO111MODULE: 'auto'
dependencies: dependencies:
gnu.org/wget: '*' gnu.org/wget: '*'
go.dev: '*' go.dev: '*'
@ -30,4 +29,4 @@ test:
- tar -xz -fgo-starter-2023-05-03.tar.gz - tar -xz -fgo-starter-2023-05-03.tar.gz
- cd ./go-starter-go-starter-2023-05-03 - cd ./go-starter-go-starter-2023-05-03
- gox -arch amd64 -os darwin -os freebsd - 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: distributable:
url: "https://github.com/mxcl/swift-sh/archive/{{version}}.tar.gz" url: 'https://github.com/mxcl/swift-sh/archive/{{version}}.tar.gz'
# this obscure option dictates how many components are removed from the
# extracted tarball.
strip-components: 1 strip-components: 1
versions: versions:
github: mxcl/swift-sh # reads github release tags github: mxcl/swift-sh
platforms: platforms:
- darwin - darwin
# - linux/x86-64
dependencies: # dependencies:
# swift.org: 5 # swift.org: 5
build: build:
dependencies: # dependencies:
# swift.org: 5 # swift.org: 5
# apple.com/xcode: >=11 # apple.com/xcode: >=11
script: script:
- swift build --disable-sandbox -c release - swift build --disable-sandbox -c release
- mkdir -p {{prefix}}/bin - mkdir -p {{prefix}}/bin

View file

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

View file

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

View file

@ -5,6 +5,8 @@ distributable:
versions: versions:
github: numactl/numactl github: numactl/numactl
platforms: linux
build: build:
dependencies: dependencies:
gnu.org/autoconf: 2 gnu.org/autoconf: 2
@ -12,14 +14,6 @@ build:
gnu.org/libtool: 2 gnu.org/libtool: 2
gnu.org/m4: 1 gnu.org/m4: 1
script: | 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 ./autogen.sh
./configure --prefix={{ prefix }} ./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install make --jobs {{ hw.concurrency }} install
@ -27,9 +21,6 @@ build:
ACLOCAL_PATH: ${{ deps.gnu.org/libtool.prefix }}/share/aclocal ACLOCAL_PATH: ${{ deps.gnu.org/libtool.prefix }}/share/aclocal
test: test:
dependencies:
script: | script: |
if test {{ hw.platform }} != "linux"; then exit; fi
cc -lnuma mynode.c cc -lnuma mynode.c
./a.out ./a.out

View file

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

View file

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

View file

@ -5,12 +5,9 @@ distributable:
versions: versions:
github: postmodern/chruby github: postmodern/chruby
build: build: make --jobs {{ hw.concurrency }} install
dependencies:
script:
make --jobs {{ hw.concurrency }} install
provides: provides:
- bin/chruby-exec - 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: '*' tukaani.org/xz: '*'
build: build:
dependencies:
script: make --jobs {{ hw.concurrency }} install PREFIX="{{prefix}}" script: make --jobs {{ hw.concurrency }} install PREFIX="{{prefix}}"
provides: provides:
- bin/ruby-install - 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: dependencies:
ruby-lang.org: '*' ruby-lang.org: '*'
build: build:
dependencies:
script: script:
- src/configure - src/configure
- make -C src - make -C src

View file

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

View file

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

View file

@ -7,7 +7,6 @@ dependencies:
python.org: ^3.11 python.org: ^3.11
github.com/rrthomas/libpaper: '*' github.com/rrthomas/libpaper: '*'
build: build:
dependencies:
script: script:
- rm -r props - rm -r props
- python-venv.sh {{prefix}}/bin/psbook - python-venv.sh {{prefix}}/bin/psbook
@ -31,4 +30,4 @@ test:
- psbook expected.ps book.ps 2>&1 | grep "Wrote 4 pages" - psbook expected.ps book.ps 2>&1 | grep "Wrote 4 pages"
- psnup -2 expected.ps nup.ps 2>&1 | grep "Wrote 2 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" - 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: ARGS:
- --prefix="{{prefix}}" - --prefix="{{prefix}}"
test: test: cc test.c -lzimg -o test
dependencies:
script:
cc test.c -lzimg -o test

View file

@ -14,14 +14,13 @@ build:
cmake --build build cmake --build build
cmake --install build cmake --install build
env: env:
LD_LIBRARY_PATH: "{{deps.gnu.org/gcc.prefix}}" LD_LIBRARY_PATH: '{{deps.gnu.org/gcc.prefix}}'
ARGS: ARGS:
- -DCMAKE_INSTALL_PREFIX="{{prefix}}" - -DCMAKE_INSTALL_PREFIX="{{prefix}}"
- -DENABLE_LIBCXX="ON" - -DENABLE_LIBCXX="ON"
- -DCPPTOML_BUILD_EXAMPLES=OFF - -DCPPTOML_BUILD_EXAMPLES=OFF
test: test:
dependencies:
script: | script: |
g++ -std=c++11 -I {{prefix}}/include test.cc -o test 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/ strip: /^libnl/
platforms: platforms:
- linux - linux
build: build:
dependencies: dependencies:
@ -30,12 +30,11 @@ build:
- --disable-silent-rules - --disable-silent-rules
test: test:
dependencies:
script: script:
- gcc ./fixture.c -lnl-3 -lnl-route-3 -o test - gcc ./fixture.c -lnl-3 -lnl-route-3 -o test
- (./test 2>&1 || true) | grep "$OUT" - (./test 2>&1 || true) | grep "$OUT"
- nl-route-list | grep "$OUT2" - nl-route-list | grep "$OUT2"
env: env:
OUT: "Unable to delete link: Operation not permitted" OUT: 'Unable to delete link: Operation not permitted'
OUT2: inet 127.0.0.1 OUT2: inet 127.0.0.1

View file

@ -11,7 +11,6 @@ dependencies:
gnu.org/m4: ^1 gnu.org/m4: ^1
build: build:
dependencies:
script: | script: |
./configure $ARGS ./configure $ARGS
make --jobs {{ hw.concurrency }} install make --jobs {{ hw.concurrency }} install
@ -22,13 +21,12 @@ build:
- --disable-bootstrap - --disable-bootstrap
- --enable-shared - --enable-shared
darwin: 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: linux:
# Fix segmentation fault during install on Ubuntu # Fix segmentation fault during install on Ubuntu
CPPFLAGS: -D_GNU_SOURCE CPPFLAGS: -D_GNU_SOURCE
test: test:
dependencies:
script: | script: |
flex test.flex flex test.flex
cc lex.yy.c -lfl cc lex.yy.c -lfl

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

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