diff --git a/projects/abseil.io/package.yml b/projects/abseil.io/package.yml index cd41732b..08187d92 100644 --- a/projects/abseil.io/package.yml +++ b/projects/abseil.io/package.yml @@ -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" diff --git a/projects/agpt.co/package.yml b/projects/agpt.co/package.yml index 5013d4f3..d92dec5c 100644 --- a/projects/agpt.co/package.yml +++ b/projects/agpt.co/package.yml @@ -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 . diff --git a/projects/alsa-project.org/alsa-lib/package.yml b/projects/alsa-project.org/alsa-lib/package.yml index e3d98e54..cb1188ba 100644 --- a/projects/alsa-project.org/alsa-lib/package.yml +++ b/projects/alsa-project.org/alsa-lib/package.yml @@ -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 \ No newline at end of file + - ./test diff --git a/projects/apache.org/apr/package.yml b/projects/apache.org/apr/package.yml index 23c863fb..97afb0f6 100644 --- a/projects/apache.org/apr/package.yml +++ b/projects/apache.org/apr/package.yml @@ -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 #include diff --git a/projects/assimp.org/package.yml b/projects/assimp.org/package.yml index f9b0b316..120be7fe 100644 --- a/projects/assimp.org/package.yml +++ b/projects/assimp.org/package.yml @@ -36,7 +36,6 @@ build: provides: - bin/assimp test: - dependencies: script: - cc -std=c++11 test.cpp -lassimp -o test - ./test diff --git a/projects/bcrypt.sourceforge.net/package.yml b/projects/bcrypt.sourceforge.net/package.yml index 52421701..46245de2 100644 --- a/projects/bcrypt.sourceforge.net/package.yml +++ b/projects/bcrypt.sourceforge.net/package.yml @@ -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 - diff --git a/projects/boost.org/package.yml b/projects/boost.org/package.yml index 8ea62912..cdd60549 100644 --- a/projects/boost.org/package.yml +++ b/projects/boost.org/package.yml @@ -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 diff --git a/projects/bytereef.org/mpdecimal/package.yml b/projects/bytereef.org/mpdecimal/package.yml index 76623e7b..0098f75a 100644 --- a/projects/bytereef.org/mpdecimal/package.yml +++ b/projects/bytereef.org/mpdecimal/package.yml @@ -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 diff --git a/projects/c-ares.org/package.yml b/projects/c-ares.org/package.yml index 5a5636a1..1fad20f6 100644 --- a/projects/c-ares.org/package.yml +++ b/projects/c-ares.org/package.yml @@ -18,7 +18,6 @@ build: make --jobs {{hw.concurrency}} install test: - dependencies: fixture: | #include #include diff --git a/projects/cairographics.org/package.yml b/projects/cairographics.org/package.yml index c8748ecd..d4c1f720 100644 --- a/projects/cairographics.org/package.yml +++ b/projects/cairographics.org/package.yml @@ -55,7 +55,6 @@ build: working-directory: ${{ prefix }}/lib test: - dependencies: script: - cc test.c -lcairo - ./a.out diff --git a/projects/capstone-engine.org/package.yml b/projects/capstone-engine.org/package.yml index 8a3a88c3..9f9974b7 100644 --- a/projects/capstone-engine.org/package.yml +++ b/projects/capstone-engine.org/package.yml @@ -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 diff --git a/projects/catb.org/wumpus/package.yml b/projects/catb.org/wumpus/package.yml index 2b1d14f1..364d43f0 100644 --- a/projects/catb.org/wumpus/package.yml +++ b/projects/catb.org/wumpus/package.yml @@ -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` diff --git a/projects/cmake.org/package.yml b/projects/cmake.org/package.yml index 43bf4027..a970afda 100644 --- a/projects/cmake.org/package.yml +++ b/projects/cmake.org/package.yml @@ -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 diff --git a/projects/cocoapods.org/package.yml b/projects/cocoapods.org/package.yml index 9168e439..b7daba79 100644 --- a/projects/cocoapods.org/package.yml +++ b/projects/cocoapods.org/package.yml @@ -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 diff --git a/projects/code.videolan.org/aribb24/package.yml b/projects/code.videolan.org/aribb24/package.yml index 1d237baa..03b0f129 100644 --- a/projects/code.videolan.org/aribb24/package.yml +++ b/projects/code.videolan.org/aribb24/package.yml @@ -27,7 +27,6 @@ build: - --prefix="{{prefix}}" test: - dependencies: script: | cc -o test test.c -laribb24 ./test diff --git a/projects/code.videolan.org/videolan/dav1d/package.yml b/projects/code.videolan.org/videolan/dav1d/package.yml index 59defdea..f53ae6a1 100644 --- a/projects/code.videolan.org/videolan/dav1d/package.yml +++ b/projects/code.videolan.org/videolan/dav1d/package.yml @@ -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 diff --git a/projects/cpanmin.us/package.yml b/projects/cpanmin.us/package.yml index a4e34859..99f0200d 100644 --- a/projects/cpanmin.us/package.yml +++ b/projects/cpanmin.us/package.yml @@ -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 diff --git a/projects/cscope.sourceforge.io/package.yml b/projects/cscope.sourceforge.io/package.yml index ac631731..d2ffd124 100644 --- a/projects/cscope.sourceforge.io/package.yml +++ b/projects/cscope.sourceforge.io/package.yml @@ -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}} diff --git a/projects/dev.yorhel.nl/ncdu/package.yml b/projects/dev.yorhel.nl/ncdu/package.yml index f7ee219e..26075203 100644 --- a/projects/dev.yorhel.nl/ncdu/package.yml +++ b/projects/dev.yorhel.nl/ncdu/package.yml @@ -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 diff --git a/projects/developers.yubico.com/libfido2/package.yml b/projects/developers.yubico.com/libfido2/package.yml index 3884984e..6eddecc7 100644 --- a/projects/developers.yubico.com/libfido2/package.yml +++ b/projects/developers.yubico.com/libfido2/package.yml @@ -32,7 +32,6 @@ provides: - bin/fido2-token test: - dependencies: script: - mv $FIXTURE test.c - cc test.c -o test -lfido2 diff --git a/projects/digip.org/jansson/package.yml b/projects/digip.org/jansson/package.yml index 3de2f3c3..5fcf690c 100644 --- a/projects/digip.org/jansson/package.yml +++ b/projects/digip.org/jansson/package.yml @@ -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 \ No newline at end of file + ./a.out diff --git a/projects/dkrz.de/libaec/package.yml b/projects/dkrz.de/libaec/package.yml index 0c50a362..dc9e2ff9 100644 --- a/projects/dkrz.de/libaec/package.yml +++ b/projects/dkrz.de/libaec/package.yml @@ -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 diff --git a/projects/elixir-lang.org/package.yml b/projects/elixir-lang.org/package.yml index 0226a5c1..ed7a2e5d 100644 --- a/projects/elixir-lang.org/package.yml +++ b/projects/elixir-lang.org/package.yml @@ -7,12 +7,9 @@ versions: strip: /v/ dependencies: - erlang.org: "*" + erlang.org: '*' -build: - dependencies: - script: | - make install +build: make install provides: - bin/elixir diff --git a/projects/facebook.com/edencommon/package.yml b/projects/facebook.com/edencommon/package.yml index 79d959de..8530eb4a 100644 --- a/projects/facebook.com/edencommon/package.yml +++ b/projects/facebook.com/edencommon/package.yml @@ -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 diff --git a/projects/facebook.com/folly/package.yml b/projects/facebook.com/folly/package.yml index c826e3cd..d1e2922c 100644 --- a/projects/facebook.com/folly/package.yml +++ b/projects/facebook.com/folly/package.yml @@ -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 int main() { diff --git a/projects/fmt.dev/package.yml b/projects/fmt.dev/package.yml index 0b25378f..31e4fe71 100644 --- a/projects/fmt.dev/package.yml +++ b/projects/fmt.dev/package.yml @@ -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 #include diff --git a/projects/freedesktop.org/cppunit/package.yml b/projects/freedesktop.org/cppunit/package.yml index 9f96be75..31cabb5d 100644 --- a/projects/freedesktop.org/cppunit/package.yml +++ b/projects/freedesktop.org/cppunit/package.yml @@ -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}} \ No newline at end of file +test: cppunit-config --version | grep {{version}} diff --git a/projects/freedesktop.org/icon-theme/package.yml b/projects/freedesktop.org/icon-theme/package.yml index 0b16574e..fb32d44c 100644 --- a/projects/freedesktop.org/icon-theme/package.yml +++ b/projects/freedesktop.org/icon-theme/package.yml @@ -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 \ No newline at end of file +test: test -e "{{prefix}}/share/icons/hicolor/index.theme" && exit 0 || exit 1 diff --git a/projects/freedesktop.org/pkg-config/package.yml b/projects/freedesktop.org/pkg-config/package.yml index cee26a71..516446a6 100644 --- a/projects/freedesktop.org/pkg-config/package.yml +++ b/projects/freedesktop.org/pkg-config/package.yml @@ -17,7 +17,6 @@ versions: strip: /^pkg-config-/ build: - dependencies: script: |- ./configure $ARGS make --jobs {{ hw.concurrency }} install diff --git a/projects/freedesktop.org/slirp/package.yml b/projects/freedesktop.org/slirp/package.yml index 75a99fa0..ed43c35f 100644 --- a/projects/freedesktop.org/slirp/package.yml +++ b/projects/freedesktop.org/slirp/package.yml @@ -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 diff --git a/projects/frei0r.dyne.org/package.yml b/projects/frei0r.dyne.org/package.yml index 0ac6df8c..4acb015a 100644 --- a/projects/frei0r.dyne.org/package.yml +++ b/projects/frei0r.dyne.org/package.yml @@ -26,7 +26,6 @@ build: - -DWITHOUT_GAVL=ON test: - dependencies: script: | cc test.c -o test ./test diff --git a/projects/gaia-gis.it/fossil/freexl/package.yml b/projects/gaia-gis.it/fossil/freexl/package.yml index d80d42f5..786433b2 100644 --- a/projects/gaia-gis.it/fossil/freexl/package.yml +++ b/projects/gaia-gis.it/fossil/freexl/package.yml @@ -39,7 +39,6 @@ test: printf("%s", freexl_version()); return 0; } - dependencies: script: | mv $FIXTURE test.c cc test.c -lfreexl diff --git a/projects/geuz.org/gl2ps/package.yml b/projects/geuz.org/gl2ps/package.yml index 02215e52..5bb49dda 100644 --- a/projects/geuz.org/gl2ps/package.yml +++ b/projects/geuz.org/gl2ps/package.yml @@ -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 \ No newline at end of file + - ls . | grep testfile diff --git a/projects/gflags.github.io/package.yml b/projects/gflags.github.io/package.yml index c780eaa1..1b6b4036 100644 --- a/projects/gflags.github.io/package.yml +++ b/projects/gflags.github.io/package.yml @@ -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 #include "gflags/gflags.h" @@ -49,4 +46,4 @@ test: script: | mv $FIXTURE test.cpp g++ test.cpp -lgflags -o test - ./test \ No newline at end of file + ./test diff --git a/projects/git-quick-stats.sh/package.yml b/projects/git-quick-stats.sh/package.yml index 87ad27ab..2b738fbd 100644 --- a/projects/git-quick-stats.sh/package.yml +++ b/projects/git-quick-stats.sh/package.yml @@ -17,7 +17,6 @@ dependencies: github.com/util-linux/util-linux: '*' build: - dependencies: script: make PREFIX={{prefix}} install test: make test diff --git a/projects/git-scm.org/package.yml b/projects/git-scm.org/package.yml index 2c1c6e60..edc17fae 100644 --- a/projects/git-scm.org/package.yml +++ b/projects/git-scm.org/package.yml @@ -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: | diff --git a/projects/git.osgeo.org/gitea/rttopo/librttopo/package.yml b/projects/git.osgeo.org/gitea/rttopo/librttopo/package.yml index a7cd7d91..34c94bfc 100644 --- a/projects/git.osgeo.org/gitea/rttopo/librttopo/package.yml +++ b/projects/git.osgeo.org/gitea/rttopo/librttopo/package.yml @@ -28,7 +28,6 @@ build: make install test: - dependencies: fixture: | #include diff --git a/projects/github.com/AOMediaCodec/libavif/package.yml b/projects/github.com/AOMediaCodec/libavif/package.yml index f10a5b29..f7b340c4 100644 --- a/projects/github.com/AOMediaCodec/libavif/package.yml +++ b/projects/github.com/AOMediaCodec/libavif/package.yml @@ -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 diff --git a/projects/github.com/Cyan4973/xxHash/package.yml b/projects/github.com/Cyan4973/xxHash/package.yml index 56cd305e..4581d628 100644 --- a/projects/github.com/Cyan4973/xxHash/package.yml +++ b/projects/github.com/Cyan4973/xxHash/package.yml @@ -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}} \ No newline at end of file + script: pkg-config --modversion libxxhash | grep {{version}} diff --git a/projects/github.com/DaanDeMeyer/reproc/package.yml b/projects/github.com/DaanDeMeyer/reproc/package.yml index 386cccfc..58533e7e 100644 --- a/projects/github.com/DaanDeMeyer/reproc/package.yml +++ b/projects/github.com/DaanDeMeyer/reproc/package.yml @@ -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 diff --git a/projects/github.com/DaveGamble/cJSON/package.yml b/projects/github.com/DaveGamble/cJSON/package.yml index 42b15973..2406ea82 100644 --- a/projects/github.com/DaveGamble/cJSON/package.yml +++ b/projects/github.com/DaveGamble/cJSON/package.yml @@ -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; - } \ No newline at end of file + } diff --git a/projects/github.com/JuliaStrings/utf8proc/package.yml b/projects/github.com/JuliaStrings/utf8proc/package.yml index 3ca622d3..c245a943 100644 --- a/projects/github.com/JuliaStrings/utf8proc/package.yml +++ b/projects/github.com/JuliaStrings/utf8proc/package.yml @@ -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; - } \ No newline at end of file + } diff --git a/projects/github.com/KhronosGroup/Vulkan-Headers/package.yml b/projects/github.com/KhronosGroup/Vulkan-Headers/package.yml index 1a01e9e2..f01e7fac 100644 --- a/projects/github.com/KhronosGroup/Vulkan-Headers/package.yml +++ b/projects/github.com/KhronosGroup/Vulkan-Headers/package.yml @@ -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 #include diff --git a/projects/github.com/KhronosGroup/Vulkan-Loader/package.yml b/projects/github.com/KhronosGroup/Vulkan-Loader/package.yml index d686208f..b112dc47 100644 --- a/projects/github.com/KhronosGroup/Vulkan-Loader/package.yml +++ b/projects/github.com/KhronosGroup/Vulkan-Loader/package.yml @@ -32,7 +32,6 @@ build: - -Wno-dev - -DBUILD_TESTING=OFF test: - dependencies: script: - cc test.c -o test -lvulkan - ./test diff --git a/projects/github.com/Mbed-TLS/mbedtls/package.yml b/projects/github.com/Mbed-TLS/mbedtls/package.yml index 7d2c9f39..b2925670 100644 --- a/projects/github.com/Mbed-TLS/mbedtls/package.yml +++ b/projects/github.com/Mbed-TLS/mbedtls/package.yml @@ -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" diff --git a/projects/github.com/OSGeo/libgeotiff/package.yml b/projects/github.com/OSGeo/libgeotiff/package.yml index 70e4fc1f..398062ca 100644 --- a/projects/github.com/OSGeo/libgeotiff/package.yml +++ b/projects/github.com/OSGeo/libgeotiff/package.yml @@ -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 \ No newline at end of file + - listgeo test.tiff | grep GeogInvFlatteningGeoKey diff --git a/projects/github.com/P-H-C/phc-winner-argon2/package.yml b/projects/github.com/P-H-C/phc-winner-argon2/package.yml index 25ff5a17..b4db65f3 100644 --- a/projects/github.com/P-H-C/phc-winner-argon2/package.yml +++ b/projects/github.com/P-H-C/phc-winner-argon2/package.yml @@ -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) diff --git a/projects/github.com/PJK/libcbor/package.yml b/projects/github.com/PJK/libcbor/package.yml index 4e090942..f06b07ee 100644 --- a/projects/github.com/PJK/libcbor/package.yml +++ b/projects/github.com/PJK/libcbor/package.yml @@ -22,7 +22,6 @@ build: - -DBUILD_SHARED_LIBS=ON test: - dependencies: fixture: | #include "cbor.h" #include diff --git a/projects/github.com/TartanLlama/expected/package.yml b/projects/github.com/TartanLlama/expected/package.yml index 0de355a2..4ff44045 100644 --- a/projects/github.com/TartanLlama/expected/package.yml +++ b/projects/github.com/TartanLlama/expected/package.yml @@ -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 #include diff --git a/projects/github.com/XcodesOrg/xcodes/package.yml b/projects/github.com/XcodesOrg/xcodes/package.yml index 2ccf3dc4..6e6b0141 100644 --- a/projects/github.com/XcodesOrg/xcodes/package.yml +++ b/projects/github.com/XcodesOrg/xcodes/package.yml @@ -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}} diff --git a/projects/github.com/adah1972/libunibreak/package.yml b/projects/github.com/adah1972/libunibreak/package.yml index aa5e8a72..4cb71010 100644 --- a/projects/github.com/adah1972/libunibreak/package.yml +++ b/projects/github.com/adah1972/libunibreak/package.yml @@ -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}} diff --git a/projects/github.com/adegtyarev/streebog/package.yml b/projects/github.com/adegtyarev/streebog/package.yml index 68571fea..5d194f23 100644 --- a/projects/github.com/adegtyarev/streebog/package.yml +++ b/projects/github.com/adegtyarev/streebog/package.yml @@ -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" diff --git a/projects/github.com/anholt/libepoxy/package.yml b/projects/github.com/anholt/libepoxy/package.yml index 6c5ca2d4..975af7c4 100644 --- a/projects/github.com/anholt/libepoxy/package.yml +++ b/projects/github.com/anholt/libepoxy/package.yml @@ -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" diff --git a/projects/github.com/aws/aws-sdk-cpp/package.yml b/projects/github.com/aws/aws-sdk-cpp/package.yml index cdfda135..388f7e84 100644 --- a/projects/github.com/aws/aws-sdk-cpp/package.yml +++ b/projects/github.com/aws/aws-sdk-cpp/package.yml @@ -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 #include diff --git a/projects/github.com/awslabs/dynein/package.yml b/projects/github.com/awslabs/dynein/package.yml index 1803c15c..c0ee36aa 100644 --- a/projects/github.com/awslabs/dynein/package.yml +++ b/projects/github.com/awslabs/dynein/package.yml @@ -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}}" diff --git a/projects/github.com/besser82/libxcrypt/package.yml b/projects/github.com/besser82/libxcrypt/package.yml index 5e9a6ac9..6344d0e3 100644 --- a/projects/github.com/besser82/libxcrypt/package.yml +++ b/projects/github.com/besser82/libxcrypt/package.yml @@ -20,7 +20,6 @@ build: - --disable-failure-tokens test: - dependencies: script: | cc -L{{prefix}}/lib -lcrypt fixture.c ./a.out diff --git a/projects/github.com/create-dmg/create-dmg/package.yml b/projects/github.com/create-dmg/create-dmg/package.yml index e89a4019..be6ffe04 100644 --- a/projects/github.com/create-dmg/create-dmg/package.yml +++ b/projects/github.com/create-dmg/create-dmg/package.yml @@ -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 diff --git a/projects/github.com/danfis/libccd/package.yml b/projects/github.com/danfis/libccd/package.yml index cfc27f18..f67af872 100644 --- a/projects/github.com/danfis/libccd/package.yml +++ b/projects/github.com/danfis/libccd/package.yml @@ -19,7 +19,6 @@ build: - -DENABLE_DOUBLE_PRECISION=ON test: - dependencies: script: | cc -o test test.c -lccd - ./test \ No newline at end of file + ./test diff --git a/projects/github.com/dylanaraps/neofetch/package.yml b/projects/github.com/dylanaraps/neofetch/package.yml index b32bc3d7..56e3ac4c 100644 --- a/projects/github.com/dylanaraps/neofetch/package.yml +++ b/projects/github.com/dylanaraps/neofetch/package.yml @@ -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) diff --git a/projects/github.com/eliben/pycparser/package.yml b/projects/github.com/eliben/pycparser/package.yml index ca96c42e..353efbce 100644 --- a/projects/github.com/eliben/pycparser/package.yml +++ b/projects/github.com/eliben/pycparser/package.yml @@ -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 diff --git a/projects/github.com/facebookincubator/fizz/package.yml b/projects/github.com/facebookincubator/fizz/package.yml index 18961463..0f350d28 100644 --- a/projects/github.com/facebookincubator/fizz/package.yml +++ b/projects/github.com/facebookincubator/fizz/package.yml @@ -50,7 +50,6 @@ build: - -DCMAKE_EXE_LINKER_FLAGS=-pie test: - dependencies: fixture: | #include #include diff --git a/projects/github.com/gabime/spdlog/package.yml b/projects/github.com/gabime/spdlog/package.yml index f054aad4..02c7784a 100644 --- a/projects/github.com/gabime/spdlog/package.yml +++ b/projects/github.com/gabime/spdlog/package.yml @@ -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 diff --git a/projects/github.com/gofireflyio/aiac/package.yml b/projects/github.com/gofireflyio/aiac/package.yml index 68957a59..2a9f249c 100644 --- a/projects/github.com/gofireflyio/aiac/package.yml +++ b/projects/github.com/gofireflyio/aiac/package.yml @@ -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 diff --git a/projects/github.com/google/re2/package.yml b/projects/github.com/google/re2/package.yml index 4b2de029..a4825016 100644 --- a/projects/github.com/google/re2/package.yml +++ b/projects/github.com/google/re2/package.yml @@ -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 #include diff --git a/projects/github.com/ivmai/libatomic_ops/package.yml b/projects/github.com/ivmai/libatomic_ops/package.yml index a16b8138..06f72a00 100644 --- a/projects/github.com/ivmai/libatomic_ops/package.yml +++ b/projects/github.com/ivmai/libatomic_ops/package.yml @@ -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}} \ No newline at end of file + script: pkg-config --modversion atomic_ops | grep {{version}} diff --git a/projects/github.com/jaseg/lolcat/package.yml b/projects/github.com/jaseg/lolcat/package.yml index 29042ef3..170354a0 100644 --- a/projects/github.com/jaseg/lolcat/package.yml +++ b/projects/github.com/jaseg/lolcat/package.yml @@ -7,7 +7,6 @@ versions: strip: /^v/ build: - dependencies: script: | make --jobs {{ hw.concurrency }} lolcat mkdir -p {{prefix}}/bin diff --git a/projects/github.com/jbeder/yaml-cpp/package.yml b/projects/github.com/jbeder/yaml-cpp/package.yml index db3de0be..7d1b766e 100644 --- a/projects/github.com/jbeder/yaml-cpp/package.yml +++ b/projects/github.com/jbeder/yaml-cpp/package.yml @@ -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 int main() { diff --git a/projects/github.com/jhford/screenresolution/package.yml b/projects/github.com/jhford/screenresolution/package.yml index dac75464..7955fce4 100644 --- a/projects/github.com/jhford/screenresolution/package.yml +++ b/projects/github.com/jhford/screenresolution/package.yml @@ -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 diff --git a/projects/github.com/json-c/json-c/package.yml b/projects/github.com/json-c/json-c/package.yml index 937e3bb7..a46a55b1 100644 --- a/projects/github.com/json-c/json-c/package.yml +++ b/projects/github.com/json-c/json-c/package.yml @@ -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 diff --git a/projects/github.com/kiliankoe/swift-outdated/package.yml b/projects/github.com/kiliankoe/swift-outdated/package.yml index a79d7b04..75732cad 100644 --- a/projects/github.com/kiliankoe/swift-outdated/package.yml +++ b/projects/github.com/kiliankoe/swift-outdated/package.yml @@ -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}} diff --git a/projects/github.com/kkos/oniguruma/package.yml b/projects/github.com/kkos/oniguruma/package.yml index baba79a9..8d89447a 100644 --- a/projects/github.com/kkos/oniguruma/package.yml +++ b/projects/github.com/kkos/oniguruma/package.yml @@ -10,7 +10,6 @@ provides: - bin/onig-config build: - dependencies: script: | ./configure --disable-dependency-tracking --prefix={{prefix}} make install diff --git a/projects/github.com/libass/libass/package.yml b/projects/github.com/libass/libass/package.yml index 559c2c85..232a8b0f 100644 --- a/projects/github.com/libass/libass/package.yml +++ b/projects/github.com/libass/libass/package.yml @@ -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 diff --git a/projects/github.com/libsndfile/libsamplerate/package.yml b/projects/github.com/libsndfile/libsamplerate/package.yml index 0769b558..c7610e4c 100644 --- a/projects/github.com/libsndfile/libsamplerate/package.yml +++ b/projects/github.com/libsndfile/libsamplerate/package.yml @@ -25,7 +25,6 @@ build: - -DBUILD_TESTING=OFF test: - dependencies: fixture: | #include #include diff --git a/projects/github.com/mitchellh/gox/package.yml b/projects/github.com/mitchellh/gox/package.yml index 74407de1..075913c6 100644 --- a/projects/github.com/mitchellh/gox/package.yml +++ b/projects/github.com/mitchellh/gox/package.yml @@ -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 \ No newline at end of file + - test -x ./go-starter_darwin_amd64 diff --git a/projects/github.com/mxcl/swift-sh/package.yml b/projects/github.com/mxcl/swift-sh/package.yml index 1b96602e..943d4055 100644 --- a/projects/github.com/mxcl/swift-sh/package.yml +++ b/projects/github.com/mxcl/swift-sh/package.yml @@ -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 diff --git a/projects/github.com/nicklockwood/SwiftFormat/package.yml b/projects/github.com/nicklockwood/SwiftFormat/package.yml index 13929afa..ee5655df 100644 --- a/projects/github.com/nicklockwood/SwiftFormat/package.yml +++ b/projects/github.com/nicklockwood/SwiftFormat/package.yml @@ -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}} diff --git a/projects/github.com/nomic-ai/gpt4all/package.yml b/projects/github.com/nomic-ai/gpt4all/package.yml index df5aa05a..ebf5a109 100644 --- a/projects/github.com/nomic-ai/gpt4all/package.yml +++ b/projects/github.com/nomic-ai/gpt4all/package.yml @@ -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 diff --git a/projects/github.com/numactl/numactl/package.yml b/projects/github.com/numactl/numactl/package.yml index 85cb007f..585ca48a 100644 --- a/projects/github.com/numactl/numactl/package.yml +++ b/projects/github.com/numactl/numactl/package.yml @@ -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 diff --git a/projects/github.com/open-source-parsers/jsoncpp/package.yml b/projects/github.com/open-source-parsers/jsoncpp/package.yml index 280da012..070c686c 100644 --- a/projects/github.com/open-source-parsers/jsoncpp/package.yml +++ b/projects/github.com/open-source-parsers/jsoncpp/package.yml @@ -21,7 +21,6 @@ build: - --wrap-mode=nofallback test: - dependencies: script: | g++ -std=c++11 ./test.cpp -o test -ljsoncpp - ./test \ No newline at end of file + ./test diff --git a/projects/github.com/p7zip-project/p7zip/package.yml b/projects/github.com/p7zip-project/p7zip/package.yml index e7570304..377b565d 100644 --- a/projects/github.com/p7zip-project/p7zip/package.yml +++ b/projects/github.com/p7zip-project/p7zip/package.yml @@ -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! diff --git a/projects/github.com/postmodern/chruby/package.yml b/projects/github.com/postmodern/chruby/package.yml index 79c778f9..4a4f7188 100644 --- a/projects/github.com/postmodern/chruby/package.yml +++ b/projects/github.com/postmodern/chruby/package.yml @@ -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}} diff --git a/projects/github.com/postmodern/ruby-install/package.yml b/projects/github.com/postmodern/ruby-install/package.yml index 9a212097..c6b2dc8b 100644 --- a/projects/github.com/postmodern/ruby-install/package.yml +++ b/projects/github.com/postmodern/ruby-install/package.yml @@ -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}} \ No newline at end of file +test: ruby-install --version | grep {{version.marketing}} diff --git a/projects/github.com/rbenv/rbenv/package.yml b/projects/github.com/rbenv/rbenv/package.yml index 90ea2e98..3b862a9a 100644 --- a/projects/github.com/rbenv/rbenv/package.yml +++ b/projects/github.com/rbenv/rbenv/package.yml @@ -6,7 +6,6 @@ versions: dependencies: ruby-lang.org: '*' build: - dependencies: script: - src/configure - make -C src diff --git a/projects/github.com/redis/hiredis/package.yml b/projects/github.com/redis/hiredis/package.yml index e1e1a4b6..e2d588d4 100644 --- a/projects/github.com/redis/hiredis/package.yml +++ b/projects/github.com/redis/hiredis/package.yml @@ -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}} diff --git a/projects/github.com/rrthomas/libpaper/package.yml b/projects/github.com/rrthomas/libpaper/package.yml index 3012733b..5217a3f1 100644 --- a/projects/github.com/rrthomas/libpaper/package.yml +++ b/projects/github.com/rrthomas/libpaper/package.yml @@ -20,7 +20,6 @@ build: provides: - bin/paper test: - dependencies: script: - paper --version | grep {{version}} - cc test.c -lpaper -o test diff --git a/projects/github.com/rrthomas/psutils/package.yml b/projects/github.com/rrthomas/psutils/package.yml index 695ab414..1fa6a016 100644 --- a/projects/github.com/rrthomas/psutils/package.yml +++ b/projects/github.com/rrthomas/psutils/package.yml @@ -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}} \ No newline at end of file + - psbook --version | grep {{version}} diff --git a/projects/github.com/sekrit-twc/zimg/package.yml b/projects/github.com/sekrit-twc/zimg/package.yml index 578ea395..a41dcd39 100644 --- a/projects/github.com/sekrit-twc/zimg/package.yml +++ b/projects/github.com/sekrit-twc/zimg/package.yml @@ -19,7 +19,4 @@ build: ARGS: - --prefix="{{prefix}}" -test: - dependencies: - script: - cc test.c -lzimg -o test +test: cc test.c -lzimg -o test diff --git a/projects/github.com/skystrife/cpptoml/package.yml b/projects/github.com/skystrife/cpptoml/package.yml index b630b893..7be404e1 100644 --- a/projects/github.com/skystrife/cpptoml/package.yml +++ b/projects/github.com/skystrife/cpptoml/package.yml @@ -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" \ No newline at end of file + ./test | grep "Hello, Tea" diff --git a/projects/github.com/thom311/libnl/package.yml b/projects/github.com/thom311/libnl/package.yml index 252da90b..fad79765 100644 --- a/projects/github.com/thom311/libnl/package.yml +++ b/projects/github.com/thom311/libnl/package.yml @@ -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 diff --git a/projects/github.com/westes/flex/package.yml b/projects/github.com/westes/flex/package.yml index e076f541..585e12cd 100644 --- a/projects/github.com/westes/flex/package.yml +++ b/projects/github.com/westes/flex/package.yml @@ -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 diff --git a/projects/github.com/zsh-users/zsh-syntax-highlighting/package.yml b/projects/github.com/zsh-users/zsh-syntax-highlighting/package.yml index 48178078..7bda2320 100644 --- a/projects/github.com/zsh-users/zsh-syntax-highlighting/package.yml +++ b/projects/github.com/zsh-users/zsh-syntax-highlighting/package.yml @@ -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 diff --git a/projects/gitlab.com/OldManProgrammer/unix-tree/package.yml b/projects/gitlab.com/OldManProgrammer/unix-tree/package.yml index 07ae4def..9b00204e 100644 --- a/projects/gitlab.com/OldManProgrammer/unix-tree/package.yml +++ b/projects/gitlab.com/OldManProgrammer/unix-tree/package.yml @@ -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 diff --git a/projects/glm.g-truc.net/package.yml b/projects/glm.g-truc.net/package.yml index 82e21c0a..fe3556c0 100644 --- a/projects/glm.g-truc.net/package.yml +++ b/projects/glm.g-truc.net/package.yml @@ -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 int main() { @@ -60,4 +59,4 @@ test: script: | mv $FIXTURE b.cpp c++ b.cpp - ./a.out \ No newline at end of file + ./a.out diff --git a/projects/gnome.org/libxslt/package.yml b/projects/gnome.org/libxslt/package.yml index f31b0ba8..7e8f842e 100644 --- a/projects/gnome.org/libxslt/package.yml +++ b/projects/gnome.org/libxslt/package.yml @@ -28,11 +28,10 @@ build: env: ARGS: - --prefix={{prefix}} - - --without-python # we don’t yet know how to support this - - --without-plugins # doesn’t build and we couldn’t debug + - --without-python # we don’t yet know how to support this + - --without-plugins # doesn’t build and we couldn’t debug test: - dependencies: script: | cc `xslt-config --cflags --libs` test.c ./a.out diff --git a/projects/gnu.org/autoconf-archive/package.yml b/projects/gnu.org/autoconf-archive/package.yml index 1dd0330e..d7d24ba5 100644 --- a/projects/gnu.org/autoconf-archive/package.yml +++ b/projects/gnu.org/autoconf-archive/package.yml @@ -10,7 +10,6 @@ versions: - /.tar.xz/ build: - dependencies: script: - ./configure --prefix="{{ prefix }}" - make --jobs {{ hw.concurrency }} install diff --git a/projects/gnu.org/autoconf/package.yml b/projects/gnu.org/autoconf/package.yml index 77868d8c..09782da9 100644 --- a/projects/gnu.org/autoconf/package.yml +++ b/projects/gnu.org/autoconf/package.yml @@ -48,7 +48,6 @@ build: perl -pi -e 's|{{prefix}}|\$PREFIX|' share/autoconf/autom4te.cfg test: - dependencies: script: | autoconf --verbose --debug ./configure diff --git a/projects/gnu.org/automake/package.yml b/projects/gnu.org/automake/package.yml index e99e1509..9eb76f6c 100644 --- a/projects/gnu.org/automake/package.yml +++ b/projects/gnu.org/automake/package.yml @@ -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 diff --git a/projects/gnu.org/bash/package.yml b/projects/gnu.org/bash/package.yml index 779933e7..1c8abf5b 100644 --- a/projects/gnu.org/bash/package.yml +++ b/projects/gnu.org/bash/package.yml @@ -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. macOS’s 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" diff --git a/projects/gnu.org/bison/package.yml b/projects/gnu.org/bison/package.yml index ac921bb9..c71b86db 100644 --- a/projects/gnu.org/bison/package.yml +++ b/projects/gnu.org/bison/package.yml @@ -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 diff --git a/projects/gnu.org/coreutils/package.yml b/projects/gnu.org/coreutils/package.yml index 9f4090d1..d2816da7 100644 --- a/projects/gnu.org/coreutils/package.yml +++ b/projects/gnu.org/coreutils/package.yml @@ -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 diff --git a/projects/gnu.org/findutils/package.yml b/projects/gnu.org/findutils/package.yml index 8b0ade98..a8897160 100644 --- a/projects/gnu.org/findutils/package.yml +++ b/projects/gnu.org/findutils/package.yml @@ -10,12 +10,9 @@ versions: - /\.tar\.xz$/ build: - dependencies: - script: - ./configure $ARGS - make --jobs {{ hw.concurrency }} install - env: ARGS: - --prefix="{{prefix}}" @@ -30,4 +27,5 @@ provides: - bin/locate - bin/updatedb - bin/xargs -test: find --version | grep {{version}} \ No newline at end of file + +test: find --version | grep {{version}} diff --git a/projects/gnu.org/fribidi/package.yml b/projects/gnu.org/fribidi/package.yml index 1b76a125..10e72274 100644 --- a/projects/gnu.org/fribidi/package.yml +++ b/projects/gnu.org/fribidi/package.yml @@ -7,14 +7,12 @@ versions: strip: /^FriBidi Version / build: - dependencies: script: | ./configure --prefix={{prefix}} --disable-debug make --jobs={{ hw.concurrency }} install test: - fixture: - a _lsimple _RteST_o th_oat + fixture: a _lsimple _RteST_o th_oat script: | out="$(fribidi --charset=CapRTL --clean --nobreak $FIXTURE)" test "$out" = "a simple TSet that" diff --git a/projects/gnu.org/gawk/package.yml b/projects/gnu.org/gawk/package.yml index 21c3ad38..fb5c7f28 100644 --- a/projects/gnu.org/gawk/package.yml +++ b/projects/gnu.org/gawk/package.yml @@ -16,13 +16,10 @@ provides: - bin/gawkbug build: - dependencies: script: | ./configure --prefix={{ prefix }} make --jobs {{ hw.concurrency }} install - test: - make test + test: make test test: - script: - test "$(echo "Goodbye, cruel World" | gawk '{ gsub("Goodbye, cruel", "Hello,"); print }')" = "Hello, World" + script: test "$(echo "Goodbye, cruel World" | gawk '{ gsub("Goodbye, cruel", "Hello,"); print }')" = "Hello, World" diff --git a/projects/gnu.org/gcc/package.yml b/projects/gnu.org/gcc/package.yml index c99ba50a..448186d4 100644 --- a/projects/gnu.org/gcc/package.yml +++ b/projects/gnu.org/gcc/package.yml @@ -8,14 +8,13 @@ versions: dependencies: linux: - gnu.org/binutils: '*' # linker needs `as` + gnu.org/binutils: '*' # linker needs `as` gnu.org/gmp: '>=4.2' gnu.org/mpfr: '>=2.4.0' gnu.org/mpc: '>=0.8.0' build: dependencies: - darwin: linux: gnu.org/gcc: '*' gnu.org/make: '*' @@ -115,7 +114,6 @@ test: - gfortran -o test3 test.f90 - test "$(./test3)" = "Hello, world!" - provides: - bin/c++ - bin/gc++ diff --git a/projects/gnu.org/gdbm/package.yml b/projects/gnu.org/gdbm/package.yml index b949ebf9..eae3e02b 100644 --- a/projects/gnu.org/gdbm/package.yml +++ b/projects/gnu.org/gdbm/package.yml @@ -10,7 +10,6 @@ versions: - /.tar.gz/ build: - dependencies: script: | ./configure --prefix={{ prefix }} --without-readline make install @@ -26,4 +25,4 @@ test: provides: - bin/gdbm_dump - bin/gdbm_load - - bin/gdbmtool \ No newline at end of file + - bin/gdbmtool diff --git a/projects/gnu.org/gettext/package.yml b/projects/gnu.org/gettext/package.yml index 412d90da..c83c9890 100644 --- a/projects/gnu.org/gettext/package.yml +++ b/projects/gnu.org/gettext/package.yml @@ -11,7 +11,6 @@ versions: strip: /v/ build: - dependencies: script: | ./configure \ --prefix={{ prefix }} \ diff --git a/projects/gnu.org/gmp/package.yml b/projects/gnu.org/gmp/package.yml index 57f137f5..e43c2bc6 100644 --- a/projects/gnu.org/gmp/package.yml +++ b/projects/gnu.org/gmp/package.yml @@ -27,7 +27,6 @@ build: make --jobs {{ hw.concurrency }} install test: - dependencies: script: | cc test.c {{ prefix }}/lib/libgmp.a ./a.out diff --git a/projects/gnu.org/gperf/package.yml b/projects/gnu.org/gperf/package.yml index f13b55bd..9aa6121d 100644 --- a/projects/gnu.org/gperf/package.yml +++ b/projects/gnu.org/gperf/package.yml @@ -10,13 +10,11 @@ versions: - /.tar.gz/ build: - dependencies: script: | ./configure --prefix={{ prefix }} make --jobs {{ hw.concurrency }} install -test: - script: echo "tea\nfoo\nbar" | gperf +test: echo "tea\nfoo\nbar" | gperf provides: - - bin/gperf \ No newline at end of file + - bin/gperf diff --git a/projects/gnu.org/groff/package.yml b/projects/gnu.org/groff/package.yml index 0058a81d..40c2deb6 100644 --- a/projects/gnu.org/groff/package.yml +++ b/projects/gnu.org/groff/package.yml @@ -17,11 +17,10 @@ dependencies: gnome.org/glib: '*' runtime: env: - GROFF_FONT_PATH: "{{prefix}}/share/groff/{{version}}/font" - GROFF_TMAC_PATH: "{{prefix}}/share/groff/{{version}}/tmac" + GROFF_FONT_PATH: '{{prefix}}/share/groff/{{version}}/font' + GROFF_TMAC_PATH: '{{prefix}}/share/groff/{{version}}/tmac' build: dependencies: - darwin: linux: gnu.org/gcc: '*' gnu.org/make: '*' @@ -37,7 +36,7 @@ build: sed -i.bak "s|$TEA_PREFIX|\$ENV{'TEA_PREFIX'}|g" afmtodit chem glilypond gperl gropdf sed -i.bak "s|$TEA_PREFIX|\$TEA_PREFIX|g" neqn nroff rm ./*.bak - working-directory: "{{prefix}}/bin" + working-directory: '{{prefix}}/bin' env: ARGS: - --prefix="{{prefix}}" diff --git a/projects/gnu.org/inetutils/package.yml b/projects/gnu.org/inetutils/package.yml index 44dbc823..b31d7224 100644 --- a/projects/gnu.org/inetutils/package.yml +++ b/projects/gnu.org/inetutils/package.yml @@ -14,7 +14,6 @@ dependencies: invisible-island.net/ncurses: '*' build: - dependencies: script: | ./configure $ARGS make SUIDMODE= install @@ -56,8 +55,4 @@ provides: - sbin/tftpd - sbin/uucpd -test: - dependencies: - script: | - ls -al - test "$(telnet --version | head -n1)" = "telnet (GNU inetutils) {{version.marketing}}" +test: test "$(telnet --version | head -n1)" = "telnet (GNU inetutils) {{version.marketing}}" diff --git a/projects/gnu.org/libiconv/package.yml b/projects/gnu.org/libiconv/package.yml index 050dd22e..8a9f1f82 100644 --- a/projects/gnu.org/libiconv/package.yml +++ b/projects/gnu.org/libiconv/package.yml @@ -10,10 +10,9 @@ versions: - /.tar.gz/ build: - dependencies: script: | ./configure $ARGS - make --jobs {{ hw.concurrency }} + make --jobs {{ hw.concurrency }} make install env: ARGS: @@ -27,7 +26,6 @@ provides: - bin/iconv test: - dependencies: script: | g++ -std=c++11 test.cc -liconv ./a.out diff --git a/projects/gnu.org/libtasn1/package.yml b/projects/gnu.org/libtasn1/package.yml index 9be3eb75..726fc94d 100644 --- a/projects/gnu.org/libtasn1/package.yml +++ b/projects/gnu.org/libtasn1/package.yml @@ -10,13 +10,11 @@ versions: - /.tar.gz/ build: - dependencies: script: | ./configure --prefix={{ prefix }} make --jobs {{ hw.concurrency }} install test: - dependencies: script: | asn1Coding pkix.asn assign.asn1 asn1Decoding pkix.asn assign.out PKIX1.Dss-Sig-Value 2>&1 | grep 'Decoding: SUCCESS' diff --git a/projects/gnu.org/libtool/package.yml b/projects/gnu.org/libtool/package.yml index d896416e..7a4fee5b 100644 --- a/projects/gnu.org/libtool/package.yml +++ b/projects/gnu.org/libtool/package.yml @@ -34,7 +34,6 @@ build: ln -s libtool glibtool test: - dependencies: script: | libtoolize - test -f ltmain.sh \ No newline at end of file + test -f ltmain.sh diff --git a/projects/gnu.org/libunistring/package.yml b/projects/gnu.org/libunistring/package.yml index d6586a1e..81356169 100644 --- a/projects/gnu.org/libunistring/package.yml +++ b/projects/gnu.org/libunistring/package.yml @@ -18,7 +18,6 @@ build: make --jobs {{ hw.concurrency }} install test: - dependencies: script: | mv $FIXTURE test.c cc -lunistring -o test test.c diff --git a/projects/gnu.org/m4/package.yml b/projects/gnu.org/m4/package.yml index 4aa140f7..c1a02c9e 100644 --- a/projects/gnu.org/m4/package.yml +++ b/projects/gnu.org/m4/package.yml @@ -7,7 +7,6 @@ versions: ignore: [v1.9a, v1.5.89a] build: - dependencies: script: | ./configure --prefix="{{ prefix }}" make --jobs {{ hw.concurrency }} install diff --git a/projects/gnu.org/nettle/package.yml b/projects/gnu.org/nettle/package.yml index 0fee0f9c..380ad8e5 100644 --- a/projects/gnu.org/nettle/package.yml +++ b/projects/gnu.org/nettle/package.yml @@ -17,33 +17,32 @@ build: make --jobs {{ hw.concurrency }} install test: - dependencies: script: | mv $FIXTURE test.c cc -lnettle -o test test.c ./test fixture: | - #include - #include + #include + #include - int main() - { - struct sha1_ctx ctx; - uint8_t digest[SHA1_DIGEST_SIZE]; - unsigned i; + int main() + { + struct sha1_ctx ctx; + uint8_t digest[SHA1_DIGEST_SIZE]; + unsigned i; - sha1_init(&ctx); - sha1_update(&ctx, 4, "test"); - sha1_digest(&ctx, SHA1_DIGEST_SIZE, digest); + sha1_init(&ctx); + sha1_update(&ctx, 4, "test"); + sha1_digest(&ctx, SHA1_DIGEST_SIZE, digest); - printf("SHA1(test)="); + printf("SHA1(test)="); - for (i = 0; i #include @@ -36,4 +34,4 @@ test: script: | mv $FIXTURE test.cpp g++ test.cpp -lglog -lgflags -o test - ./test \ No newline at end of file + ./test diff --git a/projects/google.com/googletest/package.yml b/projects/google.com/googletest/package.yml index a247905f..89167d6b 100644 --- a/projects/google.com/googletest/package.yml +++ b/projects/google.com/googletest/package.yml @@ -19,7 +19,6 @@ build: - -DCMAKE_BUILD_TYPE=Release test: - dependencies: fixture: | #include #include diff --git a/projects/google.github.io/snappy/package.yml b/projects/google.github.io/snappy/package.yml index 1dd99544..d0c91b5b 100644 --- a/projects/google.github.io/snappy/package.yml +++ b/projects/google.github.io/snappy/package.yml @@ -1,6 +1,6 @@ distributable: - url: https://github.com/google/snappy/archive/refs/tags/{{version}}.tar.gz - strip-components: 1 + url: https://github.com/google/snappy/archive/refs/tags/{{version}}.tar.gz + strip-components: 1 versions: github: google/snappy/tags @@ -30,7 +30,6 @@ build: - -DSNAPPY_BUILD_BENCHMARKS=OFF test: - dependencies: fixture: | #include #include diff --git a/projects/hadrons.org/libmd/package.yml b/projects/hadrons.org/libmd/package.yml index ec06ce93..84baf293 100644 --- a/projects/hadrons.org/libmd/package.yml +++ b/projects/hadrons.org/libmd/package.yml @@ -21,7 +21,6 @@ build: - make --jobs {{hw.concurrency}} install test: - dependencies: script: | mv $FIXTURE test.c cc test.c -lmd -o test @@ -46,4 +45,4 @@ test: printf("%02x", results[n]); putchar('\n'); return EXIT_SUCCESS; - } \ No newline at end of file + } diff --git a/projects/heasarc.gsfc.nasa.gov/cfitsio/package.yml b/projects/heasarc.gsfc.nasa.gov/cfitsio/package.yml index 9c4107ab..1a8c04c4 100644 --- a/projects/heasarc.gsfc.nasa.gov/cfitsio/package.yml +++ b/projects/heasarc.gsfc.nasa.gov/cfitsio/package.yml @@ -14,7 +14,6 @@ dependencies: zlib.net: '*' build: - dependencies: script: | ./configure $ARGS make shared @@ -25,7 +24,6 @@ build: - --enable-reentrant test: - dependencies: script: | cc testprog.c -o testprog -lcfitsio ./testprog > testprog.lis diff --git a/projects/htslib.org/samtools/package.yml b/projects/htslib.org/samtools/package.yml index eacc2f8e..f497a7e0 100644 --- a/projects/htslib.org/samtools/package.yml +++ b/projects/htslib.org/samtools/package.yml @@ -11,7 +11,6 @@ dependencies: zlib.net: 1 build: - dependencies: script: - ./configure $ARGS - make --jobs {{ hw.concurrency }} install diff --git a/projects/hunspell.github.io/package.yml b/projects/hunspell.github.io/package.yml index ce25173d..bfa441ac 100644 --- a/projects/hunspell.github.io/package.yml +++ b/projects/hunspell.github.io/package.yml @@ -13,7 +13,6 @@ dependencies: gnu.org/gettext: '*' build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} @@ -34,5 +33,4 @@ provides: - bin/munch - bin/unmunch -test: - hunspell --version | grep {{version}} \ No newline at end of file +test: hunspell --version | grep {{version}} diff --git a/projects/ijg.org/package.yml b/projects/ijg.org/package.yml index ebc9c8b4..769dab88 100644 --- a/projects/ijg.org/package.yml +++ b/projects/ijg.org/package.yml @@ -10,7 +10,6 @@ versions: - /\.tar\.gz/ build: - dependencies: script: |- ./configure \ --disable-dependency-tracking \ diff --git a/projects/info-zip.org/unzip/package.yml b/projects/info-zip.org/unzip/package.yml index 0ec76eeb..e64b6552 100644 --- a/projects/info-zip.org/unzip/package.yml +++ b/projects/info-zip.org/unzip/package.yml @@ -16,7 +16,6 @@ versions: # https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/unzip.rb build: - dependencies: script: | case {{ hw.platform }} in darwin) TARGET=macosx;; diff --git a/projects/invisible-island.net/dialog/package.yml b/projects/invisible-island.net/dialog/package.yml index 332629f1..1f456d98 100644 --- a/projects/invisible-island.net/dialog/package.yml +++ b/projects/invisible-island.net/dialog/package.yml @@ -8,9 +8,8 @@ versions: dependencies: invisible-island.net/ncurses: '*' - + build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install-full @@ -23,5 +22,4 @@ provides: - bin/dialog - bin/dialog-config -test: - dialog --version | grep {{version.marketing}} +test: dialog --version | grep {{version.marketing}} diff --git a/projects/itstool.org/package.yml b/projects/itstool.org/package.yml index a7d661f3..f5dcc5a0 100644 --- a/projects/itstool.org/package.yml +++ b/projects/itstool.org/package.yml @@ -14,13 +14,10 @@ dependencies: python.org: =3.11 build: - dependencies: - script: - ./configure $ARGS - make --jobs {{ hw.concurrency }} install - sed -i'' -e 's|#!/.* -s|#!/usr/bin/env python|g' {{prefix}}/bin/itstool - env: ARGS: - --prefix="{{prefix}}" @@ -28,4 +25,4 @@ build: provides: - bin/itstool -test: itstool --version | grep {{version}} \ No newline at end of file +test: itstool --version | grep {{version}} diff --git a/projects/jedsoft.org/slang/package.yml b/projects/jedsoft.org/slang/package.yml index d5118c85..5ce61328 100644 --- a/projects/jedsoft.org/slang/package.yml +++ b/projects/jedsoft.org/slang/package.yml @@ -13,12 +13,10 @@ versions: dependencies: libpng.org: '*' - linux: pcre.org: '*' build: - dependencies: script: | ./configure $ARGS make install @@ -31,5 +29,4 @@ build: provides: - bin/slsh -test: - slsh --version | grep {{version}} +test: slsh --version | grep {{version}} diff --git a/projects/jemalloc.net/package.yml b/projects/jemalloc.net/package.yml index bb25a017..e1d9a962 100644 --- a/projects/jemalloc.net/package.yml +++ b/projects/jemalloc.net/package.yml @@ -20,7 +20,6 @@ build: - --with-jemalloc-prefix= test: - dependencies: script: | cc test.c -L {{prefix}}/lib -ljemalloc -o test ./test diff --git a/projects/jpeg.org/jpegxl/package.yml b/projects/jpeg.org/jpegxl/package.yml index 5b10b4e8..cdd48088 100644 --- a/projects/jpeg.org/jpegxl/package.yml +++ b/projects/jpeg.org/jpegxl/package.yml @@ -23,7 +23,7 @@ build: dependencies: freedesktop.org/pkg-config: ^0.29 cmake.org: ^3 - gnu.org/coreutils: '*' # deps.sh needs “realpath” + gnu.org/coreutils: '*' # deps.sh needs “realpath” working-directory: build script: | GIT_DIR=$PWD ../deps.sh # † @@ -49,7 +49,6 @@ build: # this package test: - dependencies: script: | cjxl fixture.jpeg out.jxl diff --git a/projects/jupyter.org/package.yml b/projects/jupyter.org/package.yml index 8fa2e7ea..3f9dbc3d 100644 --- a/projects/jupyter.org/package.yml +++ b/projects/jupyter.org/package.yml @@ -37,7 +37,6 @@ dependencies: python.org: '>=3.7' build: - dependencies: script: | python-venv.py {{prefix}}/bin/jlpm cp {{prefix}}/bin/jlpm {{prefix}}/bin/jupyter @@ -67,4 +66,3 @@ build: test: script: test "$(jupyter --version | grep jupyterlab| sed 's/.* //')" = "{{ version }}" - \ No newline at end of file diff --git a/projects/khronos.org/opencl-headers/package.yml b/projects/khronos.org/opencl-headers/package.yml index 7041f71d..a741e5b8 100644 --- a/projects/khronos.org/opencl-headers/package.yml +++ b/projects/khronos.org/opencl-headers/package.yml @@ -20,7 +20,6 @@ build: - -DCMAKE_INSTALL_PREFIX={{prefix}} test: - dependencies: fixture: | #include #include @@ -30,4 +29,4 @@ test: script: | mv $FIXTURE b.c cc b.c - ./a.out \ No newline at end of file + ./a.out diff --git a/projects/lame.sourceforge.io/package.yml b/projects/lame.sourceforge.io/package.yml index 1a5a81ca..198f00e4 100644 --- a/projects/lame.sourceforge.io/package.yml +++ b/projects/lame.sourceforge.io/package.yml @@ -13,7 +13,6 @@ provides: - bin/lame build: - dependencies: script: | # Fix for Undefined symbols ... "_lame_init_old" # https://sourceforge.net/p/lame/mailman/message/36081038/ @@ -30,5 +29,4 @@ build: CXXFLAGS: -fPIC LDFLAGS: -pie -test: - lame --genre-list +test: lame --genre-list diff --git a/projects/lftp.yar.ru/package.yml b/projects/lftp.yar.ru/package.yml index 0d081f5d..229ccc2b 100644 --- a/projects/lftp.yar.ru/package.yml +++ b/projects/lftp.yar.ru/package.yml @@ -17,14 +17,13 @@ dependencies: libexpat.github.io: '*' build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install env: darwin: # https://github.com/lavv17/lftp/issues/611 - CFLAGS: "$CFLAGS -Wno-implicit-function-declaration" + CFLAGS: '$CFLAGS -Wno-implicit-function-declaration' ARGS: - --prefix="{{prefix}}" - --with-openssl="{{deps.openssl.org.prefix}}" diff --git a/projects/libarchive.org/package.yml b/projects/libarchive.org/package.yml index 8971c87b..e74c908b 100644 --- a/projects/libarchive.org/package.yml +++ b/projects/libarchive.org/package.yml @@ -1,6 +1,6 @@ distributable: - url: https://github.com/libarchive/libarchive/releases/download/v{{version}}/libarchive-{{version}}.tar.gz - strip-components: 1 + url: https://github.com/libarchive/libarchive/releases/download/v{{version}}/libarchive-{{version}}.tar.gz + strip-components: 1 versions: github: libarchive/libarchive/releases @@ -16,23 +16,22 @@ dependencies: zlib.net: 1 build: - dependencies: script: | ./configure $ARGS - make --jobs {{ hw.concurrency }} + make --jobs {{ hw.concurrency }} make install env: ARGS: - --prefix={{prefix}} - - --without-lzo2 # Use lzop binary instead of lzo2 due to GPL - - --without-nettle # xar hashing option but GPLv3 - - --without-xml2 # xar hashing option but tricky dependencies + - --without-lzo2 # Use lzop binary instead of lzo2 due to GPL + - --without-nettle # xar hashing option but GPLv3 + - --without-xml2 # xar hashing option but tricky dependencies - --without-openssl # mtree hashing now possible without OpenSSL - - --with-expat # best xar hashing option + - --with-expat # best xar hashing option linux/x86-64: - CFLAGS: "$CFLAGS -fPIC" - CXXFLAGS: "$CXXFLAGS -fPIC" - LDFLAGS: "$LDFLAGS -pie" + CFLAGS: '$CFLAGS -fPIC' + CXXFLAGS: '$CXXFLAGS -fPIC' + LDFLAGS: '$LDFLAGS -pie' provides: - bin/bsdcat @@ -42,4 +41,3 @@ provides: test: script: | bsdtar -cf test.tar.gz fixture.c - diff --git a/projects/libevent.org/package.yml b/projects/libevent.org/package.yml index 907e89a3..d9ed0416 100644 --- a/projects/libevent.org/package.yml +++ b/projects/libevent.org/package.yml @@ -24,11 +24,10 @@ build: make install env: ARGS: - - --disable-debug-mode - - --prefix="{{prefix}}" + - --disable-debug-mode + - --prefix="{{prefix}}" test: - dependencies: script: | mv $FIXTURE $FIXTURE.c cc $FIXTURE.c "-levent" diff --git a/projects/libexif.github.io/package.yml b/projects/libexif.github.io/package.yml index 938eaeab..064a5d7a 100644 --- a/projects/libexif.github.io/package.yml +++ b/projects/libexif.github.io/package.yml @@ -4,14 +4,13 @@ distributable: # if there’s a github then we can parse the versions versions: - github: libexif/libexif/tags # reads github tags from github + github: libexif/libexif/tags # reads github tags from github strip: /^v/ dependencies: gnu.org/gettext: '*' build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} @@ -37,8 +36,8 @@ test: } dependencies: gnu.org/wget: '*' - script: | + script: | wget https://samplelib.com/lib/preview/jpeg/sample-clouds-400x300.jpg -O sample.jpg mv $FIXTURE fixture.c cc fixture.c -lexif - ./a.out sample.jpg \ No newline at end of file + ./a.out sample.jpg diff --git a/projects/libexpat.github.io/package.yml b/projects/libexpat.github.io/package.yml index 24ba602d..589e7640 100644 --- a/projects/libexpat.github.io/package.yml +++ b/projects/libexpat.github.io/package.yml @@ -6,17 +6,15 @@ versions: github: libexpat/libexpat/releases build: - dependencies: script: | ./configure --prefix={{ prefix }} make --jobs {{ hw.concurrency }} install test: - dependencies: script: | cc test.c -lexpat -o test OUTPUT="$(./test)" test "$OUTPUT" = "tag:str|data:Hello, world!|" provides: - - bin/xmlwf \ No newline at end of file + - bin/xmlwf diff --git a/projects/libgeos.org/package.yml b/projects/libgeos.org/package.yml index 9c1cbd58..53c0479c 100644 --- a/projects/libgeos.org/package.yml +++ b/projects/libgeos.org/package.yml @@ -11,20 +11,18 @@ build: working-directory: build script: | cmake .. $ARGS - make --jobs {{ hw.concurrency }} + make --jobs {{ hw.concurrency }} make install env: ARGS: - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_INSTALL_PREFIX={{prefix}} - provides: - bin/geosop - bin/geos-config test: - dependencies: fixture: | #include #include diff --git a/projects/libgit2.org/package.yml b/projects/libgit2.org/package.yml index 34a60916..d3930898 100644 --- a/projects/libgit2.org/package.yml +++ b/projects/libgit2.org/package.yml @@ -12,8 +12,7 @@ build: dependencies: cmake.org: ^3 freedesktop.org/pkg-config: ^0.29 - working-directory: - build + working-directory: build script: | cmake .. $ARGS make --jobs {{ hw.concurrency }} install @@ -38,8 +37,7 @@ test: assert(options & GIT_FEATURE_SSH); return 0; } - dependencies: script: | mv $FIXTURE b.c cc b.c -lgit2 - ./a.out \ No newline at end of file + ./a.out diff --git a/projects/libisl.sourceforge.io/package.yml b/projects/libisl.sourceforge.io/package.yml index 2890483b..acf1a015 100644 --- a/projects/libisl.sourceforge.io/package.yml +++ b/projects/libisl.sourceforge.io/package.yml @@ -13,7 +13,6 @@ dependencies: gnu.org/gmp: ^6 build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install @@ -23,7 +22,6 @@ build: - --with-gmp=system", test: - dependencies: fixture: | #include int main() { diff --git a/projects/libpipeline.gitlab.io/libpipeline/package.yml b/projects/libpipeline.gitlab.io/libpipeline/package.yml index 8d757007..4dfa60f3 100644 --- a/projects/libpipeline.gitlab.io/libpipeline/package.yml +++ b/projects/libpipeline.gitlab.io/libpipeline/package.yml @@ -23,7 +23,6 @@ build: - --libdir="{{prefix}}/lib" - --disable-silent-rules test: - dependencies: script: - cc test.c -lpipeline -o test - ./test | grep "Hello world" diff --git a/projects/libpng.org/package.yml b/projects/libpng.org/package.yml index 8da4473c..2687cf80 100644 --- a/projects/libpng.org/package.yml +++ b/projects/libpng.org/package.yml @@ -12,7 +12,6 @@ dependencies: zlib.net: 1 build: - dependencies: script: |- ./configure \ --disable-dependency-tracking \ @@ -22,7 +21,6 @@ build: make install test: - dependencies: script: | cc test.c -lpng ./a.out diff --git a/projects/libsdl.org/SDL_image/package.yml b/projects/libsdl.org/SDL_image/package.yml index ea02dda6..1ea3c106 100644 --- a/projects/libsdl.org/SDL_image/package.yml +++ b/projects/libsdl.org/SDL_image/package.yml @@ -33,7 +33,6 @@ build: - --disable-webp-shared test: - dependencies: script: | mv $FIXTURE b.c cc b.c -lSDL2_image diff --git a/projects/libsodium.org/package.yml b/projects/libsodium.org/package.yml index 75a17612..9bc3c3fa 100644 --- a/projects/libsodium.org/package.yml +++ b/projects/libsodium.org/package.yml @@ -10,16 +10,14 @@ versions: - /.tar.gz/ build: - dependencies: script: | ./configure --prefix="{{prefix}}" make --jobs {{ hw.concurrency }} install env: linux/aarch64: - CFLAGS: "$CFLAGS -march=armv8-a+crypto" + CFLAGS: '$CFLAGS -march=armv8-a+crypto' test: - dependencies: fixture: | #include #include diff --git a/projects/libspng.org/package.yml b/projects/libspng.org/package.yml index b9ef8fa2..208503c5 100644 --- a/projects/libspng.org/package.yml +++ b/projects/libspng.org/package.yml @@ -21,7 +21,6 @@ build: ninja install -v test: - dependencies: script: | cc example.c -lspng -o example actual_output="$(./example 'test.png')" diff --git a/projects/libssh.org/package.yml b/projects/libssh.org/package.yml index 3d88da44..64a17939 100644 --- a/projects/libssh.org/package.yml +++ b/projects/libssh.org/package.yml @@ -29,7 +29,6 @@ build: - -DCMAKE_INSTALL_PREFIX={{prefix}} test: - dependencies: script: | mv $FIXTURE test.c gcc test.c -lssh -o test @@ -45,5 +44,3 @@ test: ssh_free(my_ssh_session); return 0; } - - diff --git a/projects/libssh2.org/package.yml b/projects/libssh2.org/package.yml index 76f32c81..d30c9511 100644 --- a/projects/libssh2.org/package.yml +++ b/projects/libssh2.org/package.yml @@ -11,7 +11,6 @@ dependencies: zlib.net: ^1.2 build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install @@ -23,7 +22,6 @@ build: - --disable-examples-build test: - dependencies: fixture: | #include int main(void) { @@ -33,4 +31,4 @@ test: script: | mv $FIXTURE b.c cc b.c -lssh2 - ./a.out \ No newline at end of file + ./a.out diff --git a/projects/libuv.org/package.yml b/projects/libuv.org/package.yml index 5bea5760..1f29cbdf 100644 --- a/projects/libuv.org/package.yml +++ b/projects/libuv.org/package.yml @@ -7,14 +7,12 @@ versions: github: libuv/libuv/tags build: - dependencies: script: | ./configure --prefix="{{prefix}}" make --jobs {{hw.concurrency}} make install test: - dependencies: script: | mv $FIXTURE $FIXTURE.c cc $FIXTURE.c -luv diff --git a/projects/libwebsockets.org/package.yml b/projects/libwebsockets.org/package.yml index 62742b6c..5e023a89 100644 --- a/projects/libwebsockets.org/package.yml +++ b/projects/libwebsockets.org/package.yml @@ -27,7 +27,6 @@ build: - -DLWS_UNIX_SOCK=ON test: - dependencies: script: | cc fixture.c -lwebsockets ./a.out diff --git a/projects/littlecms.com/package.yml b/projects/littlecms.com/package.yml index c60265dd..743ae1b9 100644 --- a/projects/littlecms.com/package.yml +++ b/projects/littlecms.com/package.yml @@ -1,7 +1,6 @@ - distributable: - url: https://github.com/mm2/Little-CMS/releases/download/lcms{{version.major}}.{{version.minor}}/lcms2-{{version.major}}.{{version.minor}}.tar.gz - strip-components: 1 + url: https://github.com/mm2/Little-CMS/releases/download/lcms{{version.major}}.{{version.minor}}/lcms2-{{version.major}}.{{version.minor}}.tar.gz + strip-components: 1 versions: github: mm2/Little-CMS/releases/tags @@ -12,7 +11,6 @@ dependencies: libjpeg-turbo.org: ^2 build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} diff --git a/projects/logological.org/gpp/package.yml b/projects/logological.org/gpp/package.yml index b666aadd..81eb6fb7 100644 --- a/projects/logological.org/gpp/package.yml +++ b/projects/logological.org/gpp/package.yml @@ -6,12 +6,9 @@ versions: github: logological/gpp strip: '/^v/' -dependencies: - build: dependencies: gnu.org/autoconf: '*' - script: | ./configure $ARGS make install @@ -24,5 +21,4 @@ provides: - bin/gpp test: - script: - gpp --version | grep {{version.marketing}} \ No newline at end of file + script: gpp --version | grep {{version.marketing}} diff --git a/projects/lua.org/package.yml b/projects/lua.org/package.yml index a8510808..925a662f 100644 --- a/projects/lua.org/package.yml +++ b/projects/lua.org/package.yml @@ -18,8 +18,6 @@ interprets: args: lua build: - dependencies: - script: | make all INSTALL_TOP={{prefix}} make install INSTALL_TOP={{prefix}} diff --git a/projects/luajit.org/package.yml b/projects/luajit.org/package.yml index 9b14a9a4..b5bfc832 100644 --- a/projects/luajit.org/package.yml +++ b/projects/luajit.org/package.yml @@ -9,10 +9,9 @@ versions: - /\.ROLLING/ runtime: env: - LUA_PATH: "{{prefix}}/share/luajit-{{version.marketing}}/?.lua" + LUA_PATH: '{{prefix}}/share/luajit-{{version.marketing}}/?.lua' build: dependencies: - darwin: linux: gnu.org/gcc: '*' script: @@ -21,11 +20,11 @@ build: - mkdir -p {{prefix}}/doc - mv doc/* {{prefix}}/doc/ - run: ln -s luajit-{{version.raw}}. luajit - working-directory: "{{prefix}}/bin" + working-directory: '{{prefix}}/bin' - run: | ln -s libluajit-5.1.dylib libluajit.dylib ln -s libluajit-5.1.a libluajit.a - working-directory: "{{prefix}}/lib" + working-directory: '{{prefix}}/lib' provides: - bin/luajit - bin/luajit-{{version.marketing}}. diff --git a/projects/lz4.org/package.yml b/projects/lz4.org/package.yml index 981c0162..64550d1d 100644 --- a/projects/lz4.org/package.yml +++ b/projects/lz4.org/package.yml @@ -10,13 +10,10 @@ provides: - bin/lz4 build: - dependencies: - script: - make --jobs {{hw.concurrency}} install PREFIX="{{prefix}}" + script: make --jobs {{hw.concurrency}} install PREFIX="{{prefix}}" test: - fixture: - testing compression and decompression + fixture: testing compression and decompression script: | cat $FIXTURE | lz4 | lz4 -d > out test "$(cat $FIXTURE)" = "$(cat out)" diff --git a/projects/matio.sourceforge.io/package.yml b/projects/matio.sourceforge.io/package.yml index 08188414..1b3cb71e 100644 --- a/projects/matio.sourceforge.io/package.yml +++ b/projects/matio.sourceforge.io/package.yml @@ -14,8 +14,6 @@ dependencies: zlib.net: '*' build: - dependencies: - script: - ./configure $ARGS - make --jobs {{ hw.concurrency }} install @@ -32,4 +30,4 @@ build: provides: - bin/matdump -test: matdump --version | grep {{version}} \ No newline at end of file +test: matdump --version | grep {{version}} diff --git a/projects/mcmc-jags.sourceforge.io/package.yml b/projects/mcmc-jags.sourceforge.io/package.yml index 1ab61ead..27a4de32 100644 --- a/projects/mcmc-jags.sourceforge.io/package.yml +++ b/projects/mcmc-jags.sourceforge.io/package.yml @@ -15,7 +15,6 @@ dependencies: netlib.org/lapack: ^3 build: - dependencies: script: - ./configure $ARGS - make --jobs {{ hw.concurrency }} install diff --git a/projects/mozilla.org/nspr/package.yml b/projects/mozilla.org/nspr/package.yml index 3d44ad6a..f58ba023 100644 --- a/projects/mozilla.org/nspr/package.yml +++ b/projects/mozilla.org/nspr/package.yml @@ -8,7 +8,6 @@ versions: strip: /^v-/ build: - dependencies: script: - ./nspr/configure $ARGS - make --jobs {{ hw.concurrency }} @@ -34,5 +33,4 @@ provides: - bin/nspr-config test: - script: - nspr-config --version | grep {{version}} \ No newline at end of file + script: nspr-config --version | grep {{version}} diff --git a/projects/mpg123.de/package.yml b/projects/mpg123.de/package.yml index 09242f43..f496e073 100644 --- a/projects/mpg123.de/package.yml +++ b/projects/mpg123.de/package.yml @@ -1,6 +1,6 @@ distributable: - url: https://www.mpg123.de/download/mpg123-{{version}}.tar.bz2 - strip-components: 1 + url: https://www.mpg123.de/download/mpg123-{{version}}.tar.bz2 + strip-components: 1 versions: url: https://www.mpg123.de/download/ @@ -10,9 +10,6 @@ versions: - /.tar.bz2/ build: - dependencies: - # ^^ often packages need dependencies to build, it is very common for - # packages to need a C compiler and make, the above provide those script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install @@ -25,17 +22,16 @@ build: - --enable-static darwin: ARGS: - - --with-default-audio=coreaudio + - --with-default-audio=coreaudio aarch64: ARGS: - - --with-cpu=aarch64 + - --with-cpu=aarch64 x86-64: ARGS: - - --with-cpu=x86-64 + - --with-cpu=x86-64 provides: - bin/mpg123 # ^^ specify the binaries or tea magic won’t work -test: - mpg123 --test fixture.mp3 +test: mpg123 --test fixture.mp3 diff --git a/projects/musl.libc.org/package.yml b/projects/musl.libc.org/package.yml index d2478dd3..ee27a849 100644 --- a/projects/musl.libc.org/package.yml +++ b/projects/musl.libc.org/package.yml @@ -17,10 +17,7 @@ provides: - bin/ld.musl-clang - bin/musl-clang -dependencies: - build: - dependencies: script: | ./configure --prefix={{ prefix }} --syslibdir={{ prefix }}/lib diff --git a/projects/mypy-lang.org/package.yml b/projects/mypy-lang.org/package.yml index dcebc69f..a8952325 100644 --- a/projects/mypy-lang.org/package.yml +++ b/projects/mypy-lang.org/package.yml @@ -9,7 +9,6 @@ dependencies: python.org: ^3 build: - dependencies: env: MYPY_USE_MYPYC: 1 MYPYC_OPT_LEVEL: 3 diff --git a/projects/nasm.us/package.yml b/projects/nasm.us/package.yml index 71bbf89a..4873f660 100644 --- a/projects/nasm.us/package.yml +++ b/projects/nasm.us/package.yml @@ -10,14 +10,12 @@ versions: - /\/"$/ build: - dependencies: script: | ./configure --prefix="{{prefix}}" make --jobs {{hw.concurrency}} rdf make install install_rdf -test: | - nasm --version +test: nasm --version provides: - bin/ldrdf diff --git a/projects/netflix.com/vmaf/package.yml b/projects/netflix.com/vmaf/package.yml index fb2a10d7..9a05036c 100644 --- a/projects/netflix.com/vmaf/package.yml +++ b/projects/netflix.com/vmaf/package.yml @@ -20,7 +20,6 @@ provides: - bin/vmaf test: - dependencies: script: | mv $FIXTURE b.c cc b.c diff --git a/projects/nghttp2.org/package.yml b/projects/nghttp2.org/package.yml index 4d514cb6..0d79a612 100644 --- a/projects/nghttp2.org/package.yml +++ b/projects/nghttp2.org/package.yml @@ -15,7 +15,6 @@ build: make -j {{ hw.concurrency }} -C lib install test: - dependencies: script: | mv $FIXTURE test.c cc -lnghttp2 -o test test.c diff --git a/projects/nginx.org/package.yml b/projects/nginx.org/package.yml index 237071b9..b43154c5 100644 --- a/projects/nginx.org/package.yml +++ b/projects/nginx.org/package.yml @@ -1,9 +1,9 @@ distributable: - url: https://nginx.org/download/nginx-{{version}}.tar.gz - strip-components: 1 + url: https://nginx.org/download/nginx-{{version}}.tar.gz + strip-components: 1 versions: - github: nginx/nginx/tags # reads github tags from github + github: nginx/nginx/tags # reads github tags from github strip: /^release-/ dependencies: @@ -12,7 +12,6 @@ dependencies: openssl.org: ^1.1.1k build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} diff --git a/projects/nixos.org/patchelf/package.yml b/projects/nixos.org/patchelf/package.yml index 1a463e41..c060d8c8 100644 --- a/projects/nixos.org/patchelf/package.yml +++ b/projects/nixos.org/patchelf/package.yml @@ -7,12 +7,11 @@ versions: strip: /^PatchELF / build: - dependencies: script: | ./configure --prefix={{prefix}} make --jobs {{hw.concurrency}} install -test: patchelf --version #FIXME better +test: patchelf --version #FIXME better provides: - - bin/patchelf \ No newline at end of file + - bin/patchelf diff --git a/projects/nodejs.org/package.yml b/projects/nodejs.org/package.yml index af14c75a..625201be 100644 --- a/projects/nodejs.org/package.yml +++ b/projects/nodejs.org/package.yml @@ -32,12 +32,12 @@ build: make --jobs {{ hw.concurrency }} install env: ARGS: - - --without-npm - - --prefix={{ prefix }} - # like, maybe we should include this? - - --with-intl=system-icu - - --shared-openssl - - --shared-zlib + - --without-npm + - --prefix={{ prefix }} + # like, maybe we should include this? + - --with-intl=system-icu + - --shared-openssl + - --shared-zlib linux/x86-64: CFLAGS: -fPIC CXXFLAGS: -fPIC @@ -47,5 +47,4 @@ test: script: | out=$(node $FIXTURE) test "$out" = "Hello, world!" - fixture: - console.log("Hello, world!"); + fixture: console.log("Hello, world!"); diff --git a/projects/nongnu.org/lzip/package.yml b/projects/nongnu.org/lzip/package.yml index 0d8128b2..f0e4e68e 100644 --- a/projects/nongnu.org/lzip/package.yml +++ b/projects/nongnu.org/lzip/package.yml @@ -10,7 +10,6 @@ versions: - /.tar.gz$/ build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} @@ -22,5 +21,4 @@ build: provides: - bin/lzip -test: - lzip --version | grep {{version.marketing}} +test: lzip --version | grep {{version.marketing}} diff --git a/projects/oberhumer.com/lzo/package.yml b/projects/oberhumer.com/lzo/package.yml index e113e745..81f18bd7 100644 --- a/projects/oberhumer.com/lzo/package.yml +++ b/projects/oberhumer.com/lzo/package.yml @@ -10,7 +10,6 @@ versions: - /.tar.gz/ build: - dependencies: script: | ./configure $ARGS make @@ -23,17 +22,16 @@ build: - --prefix="{{prefix}}" test: - dependencies: script: | mv $FIXTURE test.c gcc test.c -o test test "$(./test)" = 'Testing LZO v{{ version.major }}.{{ version.minor }} in tea.' fixture: | - #include - #include - int main() - { - printf("Testing LZO v%s in tea.", - LZO_VERSION_STRING); - return 0; - } + #include + #include + int main() + { + printf("Testing LZO v%s in tea.", + LZO_VERSION_STRING); + return 0; + } diff --git a/projects/onefetch.dev/package.yml b/projects/onefetch.dev/package.yml index c27510e3..f93a40a7 100644 --- a/projects/onefetch.dev/package.yml +++ b/projects/onefetch.dev/package.yml @@ -9,17 +9,12 @@ versions: github: o2sh/onefetch strip: /v/ -# dependencies: -# darwin: -# zlib.net: ^1 - build: dependencies: cmake.org: ^3 rust-lang.org: '>=1.56' rust-lang.org/cargo: '*' - script: - cargo install --locked --path . --root {{prefix}} + script: cargo install --locked --path . --root {{prefix}} test: script: diff --git a/projects/open-mpi.org/package.yml b/projects/open-mpi.org/package.yml index ebef998b..d66dc18c 100644 --- a/projects/open-mpi.org/package.yml +++ b/projects/open-mpi.org/package.yml @@ -13,7 +13,7 @@ dependencies: runtime: env: - OPAL_PREFIX: "{{prefix}}" + OPAL_PREFIX: '{{prefix}}' OMPI_CC: gcc OMPI_CXX: g++ OMPI_FC: gfortran @@ -33,7 +33,6 @@ runtime: # OMPI_LDFLAGS: "-L{{prefix}}/lib" build: - dependencies: script: - ./configure $CONFIGURE_ARGS - make --jobs {{ hw.concurrency }} all @@ -41,11 +40,11 @@ build: - run: | sed -i.bak "s|$TEA_PREFIX|\${pcfiledir}/../../../..|g" ompi-c.pc ompi-cxx.pc ompi-fort.pc ompi.pc orte.pc pmix.pc rm ./*.bak - working-directory: "{{prefix}}/lib/pkgconfig" + working-directory: '{{prefix}}/lib/pkgconfig' - run: | sed -i.bak "s|linker_flags=.*|linker_flags=|g" mpic++-wrapper-data.txt mpicc-wrapper-data.txt mpifort-wrapper-data.txt ortecc-wrapper-data.txt rm ./*.bak - working-directory: "{{prefix}}/share/openmpi" + working-directory: '{{prefix}}/share/openmpi' - install {{prefix}}/lib/*.mod {{prefix}}/include/ env: CXXFLAGS: -std=c++11 diff --git a/projects/openblas.net/package.yml b/projects/openblas.net/package.yml index 9bd3bdaf..d318fbbe 100644 --- a/projects/openblas.net/package.yml +++ b/projects/openblas.net/package.yml @@ -56,7 +56,6 @@ test: if (fabs(C[4]-21) > 1.e-5) abort(); return 0; } - dependencies: script: | mv $FIXTURE test.c cc test.c -lopenblas -pthread $CFLAGS $LDFLAGS diff --git a/projects/opencore-amr.sourceforge.io/package.yml b/projects/opencore-amr.sourceforge.io/package.yml index 4a39ca05..9614d381 100644 --- a/projects/opencore-amr.sourceforge.io/package.yml +++ b/projects/opencore-amr.sourceforge.io/package.yml @@ -4,13 +4,12 @@ distributable: versions: url: https://sourceforge.net/projects/opencore-amr/files/opencore-amr/ - match: /opencore-amr-\d+\.\d+\.\d+\.tar\.gz/ + match: /opencore-amr-\d+\.\d+\.\d+\.tar\.gz/ strip: - /^opencore-amr-/ - /.tar\.gz$/ build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install diff --git a/projects/openexr.com/imath/package.yml b/projects/openexr.com/imath/package.yml index cf1e548a..0156d7cf 100644 --- a/projects/openexr.com/imath/package.yml +++ b/projects/openexr.com/imath/package.yml @@ -4,7 +4,7 @@ distributable: # if there’s a github then we can parse the versions versions: - github: AcademySoftwareFoundation/Imath/tags # reads github tags from github + github: AcademySoftwareFoundation/Imath/tags # reads github tags from github strip: /^v/ build: @@ -14,7 +14,7 @@ build: cmake -S . -B build $ARGS cmake --build build cmake --install build - + mv {{ prefix}}/include/Imath/* {{prefix}}/include rmdir {{ prefix}}/include/Imath ln -s . {{ prefix }}/include/Imath @@ -24,7 +24,6 @@ build: - -DCMAKE_INSTALL_PREFIX={{prefix}} - -DCMAKE_BUILD_TYPE=Release - test: fixture: | #include @@ -38,8 +37,7 @@ test: std::swap(x[0], x[1]); std::cout << n << ", " << x[0] << ", " << x[1] << "\n"; } - dependencies: script: | mv $FIXTURE foo.cc g++ -std=c++11 -lImath foo.cc - ./a.out \ No newline at end of file + ./a.out diff --git a/projects/openjdk.org/package.yml b/projects/openjdk.org/package.yml index 2486c4d4..0f1b8fdb 100644 --- a/projects/openjdk.org/package.yml +++ b/projects/openjdk.org/package.yml @@ -28,10 +28,9 @@ dependencies: darwinsys.com/file: '*' runtime: env: - JAVA_HOME: "{{prefix}}" + JAVA_HOME: '{{prefix}}' build: dependencies: - darwin: linux: gnu.org/gcc: '*' gnu.org/make: '*' @@ -52,7 +51,7 @@ build: - mkdir -p {{prefix}} - mv $JDK_DIR {{prefix}}/ env: - MAKEFLAGS: "JOBS={{ hw.concurrency }}" + MAKEFLAGS: 'JOBS={{ hw.concurrency }}' darwin: STRIP: 2 BOOT_JDK_DIR: $SRCROOT/boot-jdk/Contents/Home diff --git a/projects/openjpeg.org/package.yml b/projects/openjpeg.org/package.yml index 3f300714..46df4853 100644 --- a/projects/openjpeg.org/package.yml +++ b/projects/openjpeg.org/package.yml @@ -1,6 +1,6 @@ distributable: - url: https://github.com/uclouvain/openjpeg/archive/v2.5.0.tar.gz - strip-components: 1 + url: https://github.com/uclouvain/openjpeg/archive/v2.5.0.tar.gz + strip-components: 1 versions: github: uclouvain/openjpeg/tags @@ -30,7 +30,6 @@ provides: - bin/opj_dump test: - dependencies: script: | mv $FIXTURE test.c cc test.c -lopenjp2 diff --git a/projects/openmp.llvm.org/package.yml b/projects/openmp.llvm.org/package.yml index 04e171cf..61f536f0 100644 --- a/projects/openmp.llvm.org/package.yml +++ b/projects/openmp.llvm.org/package.yml @@ -45,7 +45,6 @@ build: - -DOPENMP_ENABLE_LIBOMPTARGET=OFF test: - dependencies: script: - g++ -Werror -Xpreprocessor -fopenmp test.cpp -std=c++11 -lomp -o test - - ./test \ No newline at end of file + - ./test diff --git a/projects/openprinting.github.io/cups/package.yml b/projects/openprinting.github.io/cups/package.yml index b4d80aa5..83775115 100644 --- a/projects/openprinting.github.io/cups/package.yml +++ b/projects/openprinting.github.io/cups/package.yml @@ -12,12 +12,9 @@ dependencies: openssl.org: ^1.1 build: - dependencies: - script: - ./configure $ARGS - make --jobs {{ hw.concurrency }} install - env: ARGS: - --prefix="{{prefix}}" @@ -31,4 +28,4 @@ provides: - bin/ippeveprinter - bin/ipptool -test: cups-config --version | grep {{version}} \ No newline at end of file +test: cups-config --version | grep {{version}} diff --git a/projects/opus-codec.org/package.yml b/projects/opus-codec.org/package.yml index b5c5060d..c4f070eb 100644 --- a/projects/opus-codec.org/package.yml +++ b/projects/opus-codec.org/package.yml @@ -1,10 +1,10 @@ distributable: - url: https://github.com/xiph/opus/archive/refs/tags/v{{ version.raw }}.tar.gz - strip-components: 1 + url: https://github.com/xiph/opus/archive/refs/tags/v{{ version.raw }}.tar.gz + strip-components: 1 # if there’s a github then we can parse the versions versions: - github: xiph/opus/tags # reads github tags from github + github: xiph/opus/tags # reads github tags from github strip: /^v/ build: @@ -15,21 +15,20 @@ build: script: | ./autogen.sh ./configure $ARGS - make --jobs {{ hw.concurrency }} + make --jobs {{ hw.concurrency }} make install mv {{ prefix}}/include/opus/* {{prefix}}/include rmdir {{ prefix}}/include/opus ln -s . {{ prefix }}/include/opus # it’s extremely common for packages to require the above - env: + env: ARGS: - --prefix={{ prefix }} - --disable-dependency-tracking - --disable-doc test: - dependencies: fixture: | #include int main(int argc, char **argv) @@ -52,7 +51,7 @@ test: } return err; } - script: | + script: | mv $FIXTURE fixture.cpp cc fixture.cpp -lopus ./a.out diff --git a/projects/oracle.com/berkeley-db/package.yml b/projects/oracle.com/berkeley-db/package.yml index db26ce25..fbd529b9 100644 --- a/projects/oracle.com/berkeley-db/package.yml +++ b/projects/oracle.com/berkeley-db/package.yml @@ -9,7 +9,6 @@ dependencies: openssl.org: ^1.1.1 build: - dependencies: working-directory: build_unix script: | ../dist/configure $ARGS @@ -17,18 +16,17 @@ build: rm -rf "{{prefix}}/docs" env: ARGS: - - --disable-debug - - --disable-static - - --prefix={{prefix}} - - --enable-cxx - - --enable-compat185 - - --enable-sql - - --enable-sql_codegen - - --enable-dbm - - --enable-stl + - --disable-debug + - --disable-static + - --prefix={{prefix}} + - --enable-cxx + - --enable-compat185 + - --enable-sql + - --enable-sql_codegen + - --enable-dbm + - --enable-stl test: - dependencies: script: | c++ fixture.cpp -ldb_cxx ./a.out diff --git a/projects/pagure.io/xmlto/package.yml b/projects/pagure.io/xmlto/package.yml index fe77abcb..a0831a40 100644 --- a/projects/pagure.io/xmlto/package.yml +++ b/projects/pagure.io/xmlto/package.yml @@ -17,7 +17,6 @@ dependencies: gnome.org/libxslt: '*' build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install @@ -31,5 +30,4 @@ provides: - bin/xmlto test: - script: - xmlto --version | grep {{version}} \ No newline at end of file + script: xmlto --version | grep {{version}} diff --git a/projects/pcre.org/package.yml b/projects/pcre.org/package.yml index 9db07c0d..73b87c5f 100644 --- a/projects/pcre.org/package.yml +++ b/projects/pcre.org/package.yml @@ -20,7 +20,6 @@ dependencies: zlib.net: 1 build: - dependencies: script: | ./configure \ --prefix={{ prefix }} \ diff --git a/projects/pcre.org/v2/package.yml b/projects/pcre.org/v2/package.yml index 37af8be7..e52abbf6 100644 --- a/projects/pcre.org/v2/package.yml +++ b/projects/pcre.org/v2/package.yml @@ -6,7 +6,7 @@ distributable: #NOTE this yaml is almost identical versions: - github: PCRE2Project/pcre2/tags # reads github tags from github + github: PCRE2Project/pcre2/tags # reads github tags from github strip: /^pcre2-/ dependencies: @@ -14,7 +14,6 @@ dependencies: zlib.net: 1 build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} diff --git a/projects/pixman.org/package.yml b/projects/pixman.org/package.yml index 91ee13b2..6eaa629f 100644 --- a/projects/pixman.org/package.yml +++ b/projects/pixman.org/package.yml @@ -7,7 +7,6 @@ versions: strip: /^pixman-/ build: - dependencies: script: | ./configure --prefix={{ prefix }} --disable-debug make --jobs {{ hw.concurrency }} diff --git a/projects/pngquant.org/lib/package.yml b/projects/pngquant.org/lib/package.yml index 00596722..fd02426c 100644 --- a/projects/pngquant.org/lib/package.yml +++ b/projects/pngquant.org/lib/package.yml @@ -16,7 +16,6 @@ build: script: cargo cinstall --prefix {{prefix}} test: - dependencies: script: - cc test.c -limagequant -o test - - ./test \ No newline at end of file + - ./test diff --git a/projects/poppler.freedesktop.org/poppler-data/package.yml b/projects/poppler.freedesktop.org/poppler-data/package.yml index 49a78c80..b76a3e69 100644 --- a/projects/poppler.freedesktop.org/poppler-data/package.yml +++ b/projects/poppler.freedesktop.org/poppler-data/package.yml @@ -7,16 +7,14 @@ versions: strip: /^POPPLER_DATA_/ build: - dependencies: - script: | + script: # datadir is for pkgconfig files, needed by poppler itself to find its own data files - make install prefix={{prefix}} datadir={{prefix}}/lib pkgdatadir={{prefix}}/share/poppler + - make install prefix={{prefix}} datadir={{prefix}}/lib pkgdatadir={{prefix}}/share/poppler # create a symlink in case something is expecting the .pc in share - ln -s {{prefix}}/lib/pkgconfig {{prefix}}/share/ + - ln -s {{prefix}}/lib/pkgconfig {{prefix}}/share/ test: dependencies: freedesktop.org/pkg-config: '*' - script: | - pkg-config --cflags poppler-data + script: pkg-config --cflags poppler-data diff --git a/projects/proj.org/package.yml b/projects/proj.org/package.yml index 1ae298d7..a7014665 100644 --- a/projects/proj.org/package.yml +++ b/projects/proj.org/package.yml @@ -50,7 +50,6 @@ build: - -DBUILD_SHARED_LIBS=OFF test: - dependencies: script: | output="$(proj +proj=poly +ellps=clrk66 -r test.txt)" test "$(cat match.txt)" = "$output" diff --git a/projects/public.hronopik.de/vid.stab/package.yml b/projects/public.hronopik.de/vid.stab/package.yml index f64a491b..a5ce1fa7 100644 --- a/projects/public.hronopik.de/vid.stab/package.yml +++ b/projects/public.hronopik.de/vid.stab/package.yml @@ -23,7 +23,6 @@ build: - -DUSE_OMP=OFF test: - dependencies: script: | c++ vidstab_version.cpp -o vidstab_version -lvidstab ./vidstab_version diff --git a/projects/pwgen.sourceforge.io/package.yml b/projects/pwgen.sourceforge.io/package.yml index 91a18825..71aac505 100644 --- a/projects/pwgen.sourceforge.io/package.yml +++ b/projects/pwgen.sourceforge.io/package.yml @@ -12,7 +12,6 @@ versions: - _/$_ build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install @@ -26,5 +25,4 @@ build: provides: - bin/pwgen -test: - pwgen --secure 20 10 \ No newline at end of file +test: pwgen --secure 20 10 diff --git a/projects/python.org/package.yml b/projects/python.org/package.yml index 4d20b556..c2be8cfc 100644 --- a/projects/python.org/package.yml +++ b/projects/python.org/package.yml @@ -34,7 +34,7 @@ interprets: args: python dependencies: -# recommended (but none are actually required) + # recommended (but none are actually required) zlib.net: 1 sourceware.org/bzip2: 1 openssl.org: ^1.1 @@ -161,10 +161,8 @@ build: rm $confdir/Makefile.bak working-directory: ${{prefix}} - - run: - cat $PROP >> _sysconfigdata__*.py - working-directory: - ${{prefix}}/lib/python{{version.marketing}} + - run: cat $PROP >> _sysconfigdata__*.py + working-directory: ${{prefix}}/lib/python{{version.marketing}} prop: | import os import re @@ -203,19 +201,16 @@ build: # - --enable-optimizations # fails due to clang/llvm pkging bug on Linux # - --with-lto # fails on linux/aarch64 - --enable-shared - libdir: - lib/python{{version.marketing}} + libdir: lib/python{{version.marketing}} darwin: - confdir: - $libdir/config-{{version.marketing}}-darwin + confdir: $libdir/config-{{version.marketing}}-darwin PYTHON2PATCHES: - https://raw.githubusercontent.com/macports/macports-ports/master/lang/python27/files/patch-getpath.diff linux: # ARGS: # - --with-dbmliborder=bdb ARCH: ${{hw.arch}} - confdir: - $libdir/config-{{version.marketing}}-${ARCH/-/_}-linux-gnu + confdir: $libdir/config-{{version.marketing}}-${ARCH/-/_}-linux-gnu shebangs: - bin/2to3-{{version.marketing}} - bin/idle{{version.marketing}} @@ -239,7 +234,6 @@ build: - https://raw.githubusercontent.com/macports/macports-ports/master/lang/python27/files/openssl_ver.patch test: - dependencies: script: # Check if sqlite is ok, because we build with --enable-loadable-sqlite-extensions # and it can occur that building sqlite silently fails if OSX's sqlite is used. diff --git a/projects/pyyaml.org/libyaml/package.yml b/projects/pyyaml.org/libyaml/package.yml index 12aa4f20..82f50bc0 100644 --- a/projects/pyyaml.org/libyaml/package.yml +++ b/projects/pyyaml.org/libyaml/package.yml @@ -17,6 +17,4 @@ build: - --prefix="{{prefix}}" test: - dependencies: - script: - cc fixture.c -lyaml -o test + script: cc fixture.c -lyaml -o test diff --git a/projects/pyyaml.org/package.yml b/projects/pyyaml.org/package.yml index 13aee728..236124cd 100644 --- a/projects/pyyaml.org/package.yml +++ b/projects/pyyaml.org/package.yml @@ -7,13 +7,11 @@ versions: # strip: /^v/ build: - dependencies: script: | ./configure --prefix="{{prefix}}" make --jobs {{hw.concurrency}} install test: - dependencies: script: | cc test.c -lyaml ./a.out diff --git a/projects/r-wos.org/gti/package.yml b/projects/r-wos.org/gti/package.yml index 66098cfa..4b7b5832 100644 --- a/projects/r-wos.org/gti/package.yml +++ b/projects/r-wos.org/gti/package.yml @@ -9,7 +9,6 @@ provides: - bin/gti build: - dependencies: script: | make mkdir -p "{{prefix}}"/bin @@ -18,5 +17,4 @@ build: test: dependencies: git-scm.org: ^2 - script: - gti init + script: gti init diff --git a/projects/rapidjson.org/package.yml b/projects/rapidjson.org/package.yml index e5993f1f..35f461d3 100644 --- a/projects/rapidjson.org/package.yml +++ b/projects/rapidjson.org/package.yml @@ -25,7 +25,6 @@ build: - -DRAPIDJSON_BUILD_EXAMPLES=OFF test: - dependencies: script: | c++ ./capitalize.cpp -o capitalize test $(echo '{"a":"b"}' | ./capitalize) = '{"A":"B"}' diff --git a/projects/re2c.org/package.yml b/projects/re2c.org/package.yml index 58bf9a65..116b5749 100644 --- a/projects/re2c.org/package.yml +++ b/projects/re2c.org/package.yml @@ -5,8 +5,6 @@ distributable: versions: github: skvadrik/re2c -dependencies: - build: dependencies: freedesktop.org/pkg-config: '*' @@ -21,5 +19,4 @@ provides: - bin/re2c - man/man1/re2c.1 -test: - re2c --version | grep {{version.marketing}} +test: re2c --version | grep {{version.marketing}} diff --git a/projects/rhash.sourceforge.net/package.yml b/projects/rhash.sourceforge.net/package.yml index 4774b4d1..3c345249 100644 --- a/projects/rhash.sourceforge.net/package.yml +++ b/projects/rhash.sourceforge.net/package.yml @@ -20,7 +20,6 @@ provides: - bin/ed2k-link build: - dependencies: script: - ./configure --prefix={{ prefix }} diff --git a/projects/rpm.org/popt/package.yml b/projects/rpm.org/popt/package.yml index d91089a8..2f9a649f 100644 --- a/projects/rpm.org/popt/package.yml +++ b/projects/rpm.org/popt/package.yml @@ -3,24 +3,22 @@ distributable: strip-components: 1 versions: - github: rpm-software-management/popt/releases/tags - strip: - - /^popt-/ + github: rpm-software-management/popt/releases/tags + strip: + - /^popt-/ - /-release$/ build: - dependencies: script: | ./configure --disable-debug --disable-dependency-tracking --prefix={{ prefix }} make install test: - dependencies: script: | mv $FIXTURE test.c gcc test.c -lpopt -o test test "$(./test -a 123 -b 456 -c 789 -f)" = "123::456::789::1::0" - test "$(./test --optiona=987 --optionb=654 --optionc=321 --flag2)" = "987::654::321::0::1" + test "$(./test --optiona=987 --optionb=654 --optionc=321 --flag2)" = "987::654::321::0::1" fixture: | #include #include @@ -66,4 +64,3 @@ test: printf("%d::%d::%d::%d::%d", optiona, optionb, optionc, flag1, flag2); return 0; } - diff --git a/projects/rsync.samba.org/package.yml b/projects/rsync.samba.org/package.yml index d017b9cf..785cf5a1 100644 --- a/projects/rsync.samba.org/package.yml +++ b/projects/rsync.samba.org/package.yml @@ -1,6 +1,6 @@ distributable: - url: https://rsync.samba.org/ftp/rsync/rsync-{{version}}.tar.gz - strip-components: 1 + url: https://rsync.samba.org/ftp/rsync/rsync-{{version}}.tar.gz + strip-components: 1 versions: github: WayneD/rsync/tags @@ -11,7 +11,6 @@ dependencies: lz4.org: ^1 build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install @@ -19,12 +18,12 @@ build: ARGS: - --disable-debug - --prefix={{prefix}} - - --with-rsyncd-conf={{prefix}}/rsyncd.conf #FIXME - - --with-included-popt=yes #FIXME + - --with-rsyncd-conf={{prefix}}/rsyncd.conf #FIXME + - --with-included-popt=yes #FIXME - --with-included-zlib=no - - --disable-openssl #FIXME rsync still builds with encryption, but it is not hardware-accelerated + - --disable-openssl #FIXME rsync still builds with encryption, but it is not hardware-accelerated - --enable-ipv6 - - --disable-xxhash #FIXME + - --disable-xxhash #FIXME provides: - bin/rsync diff --git a/projects/rubygems.org/package.yml b/projects/rubygems.org/package.yml index 7dbd049b..d236e059 100644 --- a/projects/rubygems.org/package.yml +++ b/projects/rubygems.org/package.yml @@ -17,10 +17,10 @@ build: gnu.org/patch: '*' script: - ruby setup.rb - --prefix={{prefix}} - --env-shebang - --no-ri - --no-rdoc + --prefix={{prefix}} + --env-shebang + --no-ri + --no-rdoc - run: cp $SRCROOT/props/proxy . working-directory: ${{prefix}}/shim @@ -47,7 +47,6 @@ build: - rmdir {{prefix}}/plugins test: - dependencies: env: HOME: $PWD vRUBY: ${{deps.ruby-lang.org.version.marketing}}.0 diff --git a/projects/scons.org/package.yml b/projects/scons.org/package.yml index 5273350e..d5a03029 100644 --- a/projects/scons.org/package.yml +++ b/projects/scons.org/package.yml @@ -8,14 +8,12 @@ versions: dependencies: python.org: ~3.11 -build: - python-venv.sh {{prefix}}/bin/scons +build: python-venv.sh {{prefix}}/bin/scons provides: - bin/scons test: - dependencies: script: | mv $FIXTURE fixture.c @@ -32,4 +30,4 @@ test: int main() { printf("xyz.tea.hello-world"); return 0; - } \ No newline at end of file + } diff --git a/projects/sf.net/optipng/package.yml b/projects/sf.net/optipng/package.yml index 91073d39..7004d597 100644 --- a/projects/sf.net/optipng/package.yml +++ b/projects/sf.net/optipng/package.yml @@ -13,16 +13,14 @@ dependencies: zlib.net: ^1 build: - dependencies: script: - ./configure - --with-system-zlib - --with-system-libpng - --prefix={{prefix}} + --with-system-zlib + --with-system-libpng + --prefix={{prefix}} - make --jobs {{ hw.concurrency }} install provides: - bin/optipng -test: - optipng -simulate test.png +test: optipng -simulate test.png diff --git a/projects/simplesystems.org/libtiff/package.yml b/projects/simplesystems.org/libtiff/package.yml index 0c0b3ed6..d8ebb3cf 100644 --- a/projects/simplesystems.org/libtiff/package.yml +++ b/projects/simplesystems.org/libtiff/package.yml @@ -1,6 +1,6 @@ distributable: - url: https://download.osgeo.org/libtiff/tiff-{{version}}.tar.gz - strip-components: 1 + url: https://download.osgeo.org/libtiff/tiff-{{version}}.tar.gz + strip-components: 1 versions: url: https://download.osgeo.org/libtiff/ @@ -15,20 +15,19 @@ dependencies: zlib.net: ^1 build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install env: ARGS: - - --prefix={{prefix}} - - --enable-zstd - - --disable-dependency-tracking - - --disable-lzma - - --disable-webp - - --with-jpeg-include-dir={{deps.libjpeg-turbo.org.prefix}}/include - - --with-jpeg-lib-dir={{deps.libjpeg-turbo.org.prefix}}/lib - - --without-x + - --prefix={{prefix}} + - --enable-zstd + - --disable-dependency-tracking + - --disable-lzma + - --disable-webp + - --with-jpeg-include-dir={{deps.libjpeg-turbo.org.prefix}}/include + - --with-jpeg-lib-dir={{deps.libjpeg-turbo.org.prefix}}/lib + - --without-x provides: - bin/tiffcp @@ -38,7 +37,6 @@ provides: - bin/tiffsplit test: - dependencies: script: | mv $FIXTURE test.c cc test.c -ltiff diff --git a/projects/smartmontools.org/package.yml b/projects/smartmontools.org/package.yml index e7dfaf95..a31bf7bb 100644 --- a/projects/smartmontools.org/package.yml +++ b/projects/smartmontools.org/package.yml @@ -10,8 +10,6 @@ versions: - _/$_ build: - dependencies: - script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install @@ -28,5 +26,4 @@ provides: - bin/smartd test: - script: - smartctl --version | grep {{version.marketing}} + script: smartctl --version | grep {{version.marketing}} diff --git a/projects/sourceforge.net/libmng/package.yml b/projects/sourceforge.net/libmng/package.yml index 72d8e332..98b3133d 100644 --- a/projects/sourceforge.net/libmng/package.yml +++ b/projects/sourceforge.net/libmng/package.yml @@ -15,7 +15,6 @@ dependencies: zlib.net: '*' build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install @@ -27,5 +26,4 @@ build: test: dependencies: freedesktop.org/pkg-config: '*' - script: - pkg-config --modversion libmng | grep {{version}} + script: pkg-config --modversion libmng | grep {{version}} diff --git a/projects/sourceforge.net/libtirpc/package.yml b/projects/sourceforge.net/libtirpc/package.yml index 6f3e1527..609efc51 100644 --- a/projects/sourceforge.net/libtirpc/package.yml +++ b/projects/sourceforge.net/libtirpc/package.yml @@ -11,7 +11,6 @@ platforms: dependencies: kerberos.org: '*' build: - dependencies: script: - ./configure $ARGS - make --jobs {{ hw.concurrency }} install @@ -26,7 +25,6 @@ build: - --disable-silent-rules - --prefix={{prefix}} test: - dependencies: script: - cc test.c -ltirpc -o test - ./test diff --git a/projects/sourceforge.net/net-tools/package.yml b/projects/sourceforge.net/net-tools/package.yml index d1ade662..12d51997 100644 --- a/projects/sourceforge.net/net-tools/package.yml +++ b/projects/sourceforge.net/net-tools/package.yml @@ -15,7 +15,6 @@ platforms: - linux build: - dependencies: script: | sed -i '/IFS='\''@'\'' read ans || exit 1/d' configure.sh make config @@ -25,7 +24,6 @@ build: ARGS: - DESTDIR="{{prefix}}" - provides: - bin/hostname - bin/ifconfig diff --git a/projects/sourceware.org/bzip2/package.yml b/projects/sourceware.org/bzip2/package.yml index 1d7364b5..58fd32a4 100644 --- a/projects/sourceware.org/bzip2/package.yml +++ b/projects/sourceware.org/bzip2/package.yml @@ -16,7 +16,6 @@ provides: - bin/bzmore build: - dependencies: script: | make \ --environment-overrides \ @@ -44,7 +43,7 @@ build: esac env: - CFLAGS: -fPIC # so deps link without relocation issues on linux/aarch64 + CFLAGS: -fPIC # so deps link without relocation issues on linux/aarch64 PREFIX: ${{ prefix }} darwin: PKG_VERSION: ${{ version }} diff --git a/projects/sourceware.org/libffi/package.yml b/projects/sourceware.org/libffi/package.yml index acdc50d0..55411ccb 100644 --- a/projects/sourceware.org/libffi/package.yml +++ b/projects/sourceware.org/libffi/package.yml @@ -6,7 +6,6 @@ versions: github: libffi/libffi/tags build: - dependencies: script: | ./configure --prefix={{prefix}} --disable-debug make --jobs {{ hw.concurrency }} install diff --git a/projects/speex.org/package.yml b/projects/speex.org/package.yml index 6c67859f..af0f5f92 100644 --- a/projects/speex.org/package.yml +++ b/projects/speex.org/package.yml @@ -25,7 +25,4 @@ build: provides: - bin/speexdec -test: - dependencies: - script: - cc test.c -lspeex -o test \ No newline at end of file +test: cc test.c -lspeex -o test diff --git a/projects/sqlite.org/package.yml b/projects/sqlite.org/package.yml index beabfc19..4d537405 100644 --- a/projects/sqlite.org/package.yml +++ b/projects/sqlite.org/package.yml @@ -12,7 +12,6 @@ dependencies: gnu.org/readline: 8 build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install @@ -37,4 +36,4 @@ test: script: sqlite3 --version provides: - - bin/sqlite3 \ No newline at end of file + - bin/sqlite3 diff --git a/projects/stedolan.github.io/jq/package.yml b/projects/stedolan.github.io/jq/package.yml index b2c5e23b..dbe4df92 100644 --- a/projects/stedolan.github.io/jq/package.yml +++ b/projects/stedolan.github.io/jq/package.yml @@ -28,4 +28,4 @@ test: script: test $(jq .devs[1].github < test.json) = '"jhheider"' provides: - - bin/jq \ No newline at end of file + - bin/jq diff --git a/projects/strace.io/package.yml b/projects/strace.io/package.yml index d53ecd34..80f19b20 100644 --- a/projects/strace.io/package.yml +++ b/projects/strace.io/package.yml @@ -8,7 +8,6 @@ versions: platforms: linux build: - dependencies: script: | ./configure $ARGS make --jobs {{hw.concurrency}} install diff --git a/projects/swig.org/package.yml b/projects/swig.org/package.yml index 3c44c7ae..132bd6c0 100644 --- a/projects/swig.org/package.yml +++ b/projects/swig.org/package.yml @@ -13,7 +13,6 @@ runtime: SWIG_LIB: ${{prefix}}/lib build: - dependencies: script: | ./configure --prefix="{{prefix}}" --with-swiglibdir={{prefix}}/lib make --jobs {{ hw.concurrency }} @@ -28,4 +27,4 @@ test: ruby-lang.org: ^3 script: | swig -ruby fixture.i - cc -c -fPIC -fdeclspec fixture.c fixture_wrap.c \ No newline at end of file + cc -c -fPIC -fdeclspec fixture.c fixture_wrap.c diff --git a/projects/taku910.github.io/mecab-ipadic/package.yml b/projects/taku910.github.io/mecab-ipadic/package.yml index c99d403c..648fe844 100644 --- a/projects/taku910.github.io/mecab-ipadic/package.yml +++ b/projects/taku910.github.io/mecab-ipadic/package.yml @@ -14,7 +14,6 @@ dependencies: taku910.github.io/mecab: '*' build: - dependencies: script: - ./configure $ARGS - make --jobs {{ hw.concurrency }} install @@ -30,4 +29,4 @@ build: test: - touch mecabrc - echo 'dicdir = {{prefix}}/lib/mecab/dic/ipadic' > mecabrc - - echo "すもももももももものうち" | mecab --rcfile=mecabrc | grep '詞' \ No newline at end of file + - echo "すもももももももものうち" | mecab --rcfile=mecabrc | grep '詞' diff --git a/projects/taku910.github.io/mecab/package.yml b/projects/taku910.github.io/mecab/package.yml index f586d27a..5fd23bdf 100644 --- a/projects/taku910.github.io/mecab/package.yml +++ b/projects/taku910.github.io/mecab/package.yml @@ -15,7 +15,6 @@ platforms: - linux/x86-64 build: - dependencies: script: - ./configure $ARGS - make --jobs {{ hw.concurrency }} install @@ -32,5 +31,4 @@ provides: - bin/mecab - bin/mecab-config -test: - test "$(mecab-config --dicdir)" = "{{prefix}}/lib/mecab/dic" +test: test "$(mecab-config --dicdir)" = "{{prefix}}/lib/mecab/dic" diff --git a/projects/tcl.tk/tcl/package.yml b/projects/tcl.tk/tcl/package.yml index 4482f24a..29003206 100644 --- a/projects/tcl.tk/tcl/package.yml +++ b/projects/tcl.tk/tcl/package.yml @@ -10,7 +10,6 @@ versions: - /\// build: - dependencies: working-directory: unix script: | ./configure --prefix={{ prefix }} @@ -29,4 +28,3 @@ provides: - bin/sqlite3_analyzer - bin/tclsh{{version.major}}.{{version.minor}} - bin/tclsh - diff --git a/projects/thrysoee.dk/editline/package.yml b/projects/thrysoee.dk/editline/package.yml index 243d349c..9e1b1a1a 100644 --- a/projects/thrysoee.dk/editline/package.yml +++ b/projects/thrysoee.dk/editline/package.yml @@ -9,7 +9,6 @@ dependencies: invisible-island.net/ncurses: '*' build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install @@ -20,7 +19,6 @@ build: - --prefix={{ prefix }} test: - dependencies: script: | mv $FIXTURE test.c cc -o test test.c -ledit diff --git a/projects/tldr.sh/package.yml b/projects/tldr.sh/package.yml index 7fdfe9cf..9f700be4 100644 --- a/projects/tldr.sh/package.yml +++ b/projects/tldr.sh/package.yml @@ -12,9 +12,7 @@ dependencies: curl.se: '*' build: - dependencies: - script: - make --environment-overrides --jobs {{ hw.concurrency }} install + script: make --environment-overrides --jobs {{ hw.concurrency }} install env: PREFIX: ${{prefix}} CFLAGS: -ggdb -O0 -ftrapv -fPIC diff --git a/projects/tuist.io/xcbeautify/package.yml b/projects/tuist.io/xcbeautify/package.yml index 65320012..55047e5a 100644 --- a/projects/tuist.io/xcbeautify/package.yml +++ b/projects/tuist.io/xcbeautify/package.yml @@ -12,9 +12,9 @@ provides: - bin/xcbeautify build: - dependencies: - # swift.org: 5 - # apple.com/xcode: >=13.3 + # dependencies: + # swift.org: 5 + # apple.com/xcode: >=13.3 script: # 0.21.0 doesn't have its version bumped - run: echo 'let version = "{{version}}"' > Sources/xcbeautify/Version.swift @@ -23,5 +23,4 @@ build: - mkdir -p {{prefix}}/bin - mv $(swift build --configuration release --show-bin-path)/xcbeautify {{prefix}}/bin -test: - xcbeautify --version | grep {{version}} +test: xcbeautify --version | grep {{version}} diff --git a/projects/tukaani.org/xz/package.yml b/projects/tukaani.org/xz/package.yml index ed656608..be8f0044 100644 --- a/projects/tukaani.org/xz/package.yml +++ b/projects/tukaani.org/xz/package.yml @@ -10,7 +10,6 @@ versions: - /.tar.gz/ build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install @@ -20,8 +19,7 @@ build: - --disable-debug - --disable-doc -test: - script: xz --version +test: xz --version provides: - bin/lzcat diff --git a/projects/unicode.org/package.yml b/projects/unicode.org/package.yml index 3066372d..d9fb81ff 100644 --- a/projects/unicode.org/package.yml +++ b/projects/unicode.org/package.yml @@ -7,7 +7,6 @@ versions: strip: /^ICU / build: - dependencies: working-directory: source script: | ./configure $ARGS @@ -22,8 +21,8 @@ build: - --with-library-bits=64 darwin: LDFLAGS: - # changing install names or rpaths can't be redone for - - -headerpad_max_install_names + # changing install names or rpaths can't be redone for + - -headerpad_max_install_names test: script: | @@ -48,4 +47,4 @@ provides: - bin/icuinfo - bin/makeconv - bin/pkgdata - - bin/uconv \ No newline at end of file + - bin/uconv diff --git a/projects/unidata.ucar.edu/netcdf/package.yml b/projects/unidata.ucar.edu/netcdf/package.yml index 386ee16c..736c321c 100644 --- a/projects/unidata.ucar.edu/netcdf/package.yml +++ b/projects/unidata.ucar.edu/netcdf/package.yml @@ -16,7 +16,6 @@ build: gnu.org/m4: '*' linux: gnu.org/gcc: '*' - darwin: script: - run: | cmake -S . -B build_shared $ARGS -DBUILD_SHARED_LIBS=ON @@ -61,7 +60,6 @@ provides: - bin/ncgen - bin/ncgen3 test: - dependencies: script: - cc test.c -lnetcdf -o test - ./test | grep {{version}} diff --git a/projects/unixodbc.org/package.yml b/projects/unixodbc.org/package.yml index 2ccb752f..a2f96813 100644 --- a/projects/unixodbc.org/package.yml +++ b/projects/unixodbc.org/package.yml @@ -4,12 +4,11 @@ distributable: versions: github: lurcher/unixODBC - + dependencies: gnu.org/libtool: '*' build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install @@ -29,6 +28,4 @@ provides: - bin/odbcinst - bin/slencheck -test: - script: - odbc_config --version | grep {{version}} \ No newline at end of file +test: odbc_config --version | grep {{version}} diff --git a/projects/videolan.org/libbluray/package.yml b/projects/videolan.org/libbluray/package.yml index 3491e7ef..d2744435 100644 --- a/projects/videolan.org/libbluray/package.yml +++ b/projects/videolan.org/libbluray/package.yml @@ -33,7 +33,6 @@ build: - --disable-bdjava-jar test: - dependencies: script: | cc test.c -lbluray -o test ./test diff --git a/projects/videolan.org/x264/package.yml b/projects/videolan.org/x264/package.yml index a1562999..60d74f2c 100644 --- a/projects/videolan.org/x264/package.yml +++ b/projects/videolan.org/x264/package.yml @@ -27,7 +27,6 @@ provides: - bin/x264 test: - dependencies: script: | cc test.c -lx264 -o test ./test diff --git a/projects/wayland.freedesktop.org/package.yml b/projects/wayland.freedesktop.org/package.yml index 9fc9d0d1..8f062ae0 100644 --- a/projects/wayland.freedesktop.org/package.yml +++ b/projects/wayland.freedesktop.org/package.yml @@ -1,15 +1,15 @@ distributable: - url: https://gitlab.freedesktop.org/wayland/wayland/-/releases/{{version}}/downloads/wayland-{{version}}.tar.xz - strip-components: 1 + url: https://gitlab.freedesktop.org/wayland/wayland/-/releases/{{version}}/downloads/wayland-{{version}}.tar.xz + strip-components: 1 display-name: wayland platforms: - linux versions: - gitlab: gitlab.freedesktop.org:wayland/wayland + gitlab: gitlab.freedesktop.org:wayland/wayland dependencies: - libexpat.github.io: '*' - sourceware.org/libffi: '*' - gnome.org/libxml2: '*' + libexpat.github.io: '*' + sourceware.org/libffi: '*' + gnome.org/libxml2: '*' build: dependencies: mesonbuild.com: '*' @@ -33,7 +33,6 @@ build: provides: - bin/wayland-scanner test: - dependencies: script: - cc test.c -o test - - ./test \ No newline at end of file + - ./test diff --git a/projects/x.org/exts/package.yml b/projects/x.org/exts/package.yml index da5640d2..7749256f 100644 --- a/projects/x.org/exts/package.yml +++ b/projects/x.org/exts/package.yml @@ -27,7 +27,6 @@ build: SHELF: ${{tea.prefix}}/x.org test: - dependencies: script: | mv $FIXTURE x.c cc x.c @@ -37,4 +36,4 @@ test: int main(int argc, char* argv[]) { XShapeEvent event; return 0; - } \ No newline at end of file + } diff --git a/projects/x.org/protocol/package.yml b/projects/x.org/protocol/package.yml index 5c4a5d83..f36c57cf 100644 --- a/projects/x.org/protocol/package.yml +++ b/projects/x.org/protocol/package.yml @@ -13,7 +13,6 @@ dependencies: x.org/util-macros: '*' build: - dependencies: script: | ./configure \ --prefix="{{prefix}}" \ diff --git a/projects/x.org/util-macros/package.yml b/projects/x.org/util-macros/package.yml index f866ca66..88118a7b 100644 --- a/projects/x.org/util-macros/package.yml +++ b/projects/x.org/util-macros/package.yml @@ -10,7 +10,6 @@ versions: - /.tar.gz/ build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} diff --git a/projects/x.org/x11/package.yml b/projects/x.org/x11/package.yml index f66fbf28..7838d2e8 100644 --- a/projects/x.org/x11/package.yml +++ b/projects/x.org/x11/package.yml @@ -1,4 +1,3 @@ - distributable: url: https://www.x.org/archive/individual/lib/libX11-{{version}}.tar.gz strip-components: 1 @@ -19,27 +18,26 @@ build: freedesktop.org/pkg-config: ~0.29 x.org/util-macros: '*' x.org/xtrans: ^1 - gnu.org/sed: '*' # or build fails on macOS + gnu.org/sed: '*' # or build fails on macOS script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install env: SHELF: ${{tea.prefix}}/x.org ARGS: - - --prefix="{{prefix}}" - - --sysconfdir="$SHELF"/etc - - --localstatedir="$SHELF"/var - - --disable-debug - - --enable-unix-transport - - --enable-tcp-transport - - --enable-ipv6 - - --enable-local-transport - - --enable-loadable-i18n - - --enable-xthreads - - --enable-specs=no + - --prefix="{{prefix}}" + - --sysconfdir="$SHELF"/etc + - --localstatedir="$SHELF"/var + - --disable-debug + - --enable-unix-transport + - --enable-tcp-transport + - --enable-ipv6 + - --enable-local-transport + - --enable-loadable-i18n + - --enable-xthreads + - --enable-specs=no test: - dependencies: script: | cc fixture.c -lX11 ./a.out diff --git a/projects/x.org/xau/package.yml b/projects/x.org/xau/package.yml index 2c20d7ef..917436df 100644 --- a/projects/x.org/xau/package.yml +++ b/projects/x.org/xau/package.yml @@ -26,7 +26,6 @@ build: SHELF: ${{tea.prefix}}/x.org test: - dependencies: script: | mv $FIXTURE test.c cc test.c diff --git a/projects/x.org/xaw/package.yml b/projects/x.org/xaw/package.yml index b1db8205..c109851e 100644 --- a/projects/x.org/xaw/package.yml +++ b/projects/x.org/xaw/package.yml @@ -29,7 +29,6 @@ build: SHELF: ${{tea.prefix}}/x.org test: - dependencies: script: | mv $FIXTURE test.c cc test.c diff --git a/projects/x.org/xcb/package.yml b/projects/x.org/xcb/package.yml index 4a26be78..45c76d8d 100644 --- a/projects/x.org/xcb/package.yml +++ b/projects/x.org/xcb/package.yml @@ -40,7 +40,6 @@ build: - --with-doxygen=no test: - dependencies: script: | cc fixture.c -lxcb ./a.out diff --git a/projects/x.org/xdmcp/package.yml b/projects/x.org/xdmcp/package.yml index af65ddb0..3ab9d188 100644 --- a/projects/x.org/xdmcp/package.yml +++ b/projects/x.org/xdmcp/package.yml @@ -25,7 +25,6 @@ build: SHELF: ${{tea.prefix}}/x.org test: - dependencies: script: | mv $FIXTURE test.c cc test.c diff --git a/projects/x.org/xmu/package.yml b/projects/x.org/xmu/package.yml index d164dd9d..fbe472d8 100644 --- a/projects/x.org/xmu/package.yml +++ b/projects/x.org/xmu/package.yml @@ -26,7 +26,6 @@ build: SHELF: ${{tea.prefix}}/x.org test: - dependencies: script: | mv $FIXTURE test.c cc test.c diff --git a/projects/x.org/xpm/package.yml b/projects/x.org/xpm/package.yml index c0480841..b95c874b 100644 --- a/projects/x.org/xpm/package.yml +++ b/projects/x.org/xpm/package.yml @@ -28,7 +28,6 @@ build: SHELF: ${{tea.prefix}}/x.org test: - dependencies: script: | mv $FIXTURE test.c cc test.c diff --git a/projects/x.org/xrender/package.yml b/projects/x.org/xrender/package.yml index b14be4bf..cd066343 100644 --- a/projects/x.org/xrender/package.yml +++ b/projects/x.org/xrender/package.yml @@ -26,7 +26,6 @@ build: SHELF: ${{tea.prefix}}/x.org test: - dependencies: script: | mv $FIXTURE x.c cc x.c diff --git a/projects/x.org/xt/package.yml b/projects/x.org/xt/package.yml index 266f6be1..96f1a48a 100644 --- a/projects/x.org/xt/package.yml +++ b/projects/x.org/xt/package.yml @@ -28,7 +28,6 @@ build: SHELF: ${{tea.prefix}}/x.org test: - dependencies: script: | mv $FIXTURE test.c cc test.c diff --git a/projects/x.org/xtrans/package.yml b/projects/x.org/xtrans/package.yml index b3bdcfd4..a028b153 100644 --- a/projects/x.org/xtrans/package.yml +++ b/projects/x.org/xtrans/package.yml @@ -32,7 +32,6 @@ build: SHELF: ${{tea.prefix}}/x.org test: - dependencies: script: | mv $FIXTURE test.c cc test.c diff --git a/projects/xiph.org/ogg/package.yml b/projects/xiph.org/ogg/package.yml index 14d5da85..78459909 100644 --- a/projects/xiph.org/ogg/package.yml +++ b/projects/xiph.org/ogg/package.yml @@ -10,7 +10,6 @@ versions: - /.tar.gz/ build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} diff --git a/projects/xiph.org/vorbis/package.yml b/projects/xiph.org/vorbis/package.yml index 7cba0ada..67cb8b14 100644 --- a/projects/xiph.org/vorbis/package.yml +++ b/projects/xiph.org/vorbis/package.yml @@ -9,13 +9,11 @@ dependencies: xiph.org/ogg: ^1 build: - dependencies: script: | ./configure --prefix="{{prefix}}" make --jobs {{ hw.concurrency }} install test: - dependencies: fixture: | #include #include diff --git a/projects/xvid.com/package.yml b/projects/xvid.com/package.yml index c7043e18..790c1859 100644 --- a/projects/xvid.com/package.yml +++ b/projects/xvid.com/package.yml @@ -10,7 +10,6 @@ versions: - /\.tar.gz/ build: - dependencies: working-directory: build/generic script: | ./configure $ARGS @@ -21,7 +20,4 @@ build: - --prefix="{{prefix}}" - --disable-assembly -test: - dependencies: - script: - cc test.cpp -lxvidcore -o test \ No newline at end of file +test: cc test.cpp -lxvidcore -o test diff --git a/projects/yadm.io/package.yml b/projects/yadm.io/package.yml index f66a8f53..43e81bd0 100644 --- a/projects/yadm.io/package.yml +++ b/projects/yadm.io/package.yml @@ -6,13 +6,10 @@ versions: github: TheLocehiliosan/yadm/tags dependencies: - git-scm.org: "*" - gnu.org/bash: "*" + git-scm.org: '*' + gnu.org/bash: '*' -build: - dependencies: - script: | - make install PREFIX={{ prefix }} +build: make install PREFIX={{ prefix }} provides: - bin/yadm diff --git a/projects/yasm.tortall.net/package.yml b/projects/yasm.tortall.net/package.yml index 7b87d88d..6ff7c5c8 100644 --- a/projects/yasm.tortall.net/package.yml +++ b/projects/yasm.tortall.net/package.yml @@ -10,7 +10,6 @@ versions: - /.tar.gz/ build: - dependencies: script: | ./configure $ARGS make --jobs {{ hw.concurrency }} install diff --git a/projects/yt-dlp.org/package.yml b/projects/yt-dlp.org/package.yml index 0d064050..2feb492d 100644 --- a/projects/yt-dlp.org/package.yml +++ b/projects/yt-dlp.org/package.yml @@ -9,13 +9,9 @@ versions: dependencies: python.org: 3 -build: - dependencies: - script: - python-venv.sh {{prefix}}/bin/yt-dlp +build: python-venv.sh {{prefix}}/bin/yt-dlp -test: - yt-dlp --simulate https://youtu.be/pOtd1cbOP7k +test: yt-dlp --simulate https://youtu.be/pOtd1cbOP7k provides: - bin/yt-dlp diff --git a/projects/zeromq.org/package.yml b/projects/zeromq.org/package.yml index d6ce4d7b..49887be0 100644 --- a/projects/zeromq.org/package.yml +++ b/projects/zeromq.org/package.yml @@ -6,16 +6,15 @@ versions: github: zeromq/libzmq/releases/tags build: - dependencies: script: | ./configure $ARGS make --jobs {{hw.concurrency}} install env: ARGS: - - --disable-Werror # fails to build due to deprecations - - --disable-debug - - --prefix={{prefix}} - - --without-docs + - --disable-Werror # fails to build due to deprecations + - --disable-debug + - --prefix={{prefix}} + - --without-docs test: dependencies: diff --git a/projects/zlib.net/minizip/package.yml b/projects/zlib.net/minizip/package.yml index 8a54a925..fbcfd602 100644 --- a/projects/zlib.net/minizip/package.yml +++ b/projects/zlib.net/minizip/package.yml @@ -21,7 +21,4 @@ build: ./configure --prefix={{prefix}} make install -test: - dependencies: - script: | - cc test.c -o test -lminizip -lz +test: cc test.c -o test -lminizip -lz diff --git a/projects/zlib.net/package.yml b/projects/zlib.net/package.yml index d9386192..cc6fc38d 100644 --- a/projects/zlib.net/package.yml +++ b/projects/zlib.net/package.yml @@ -6,16 +6,14 @@ versions: github: madler/zlib/tags build: - dependencies: script: | ./configure --prefix="{{prefix}}" make --jobs {{ hw.concurrency }} install test: - dependencies: script: | cc test.c -lz OUT=$(echo "$INPUT" | ./a.out | ./a.out -d) test "$OUT" = "$INPUT" env: - INPUT: Hello, World! \ No newline at end of file + INPUT: Hello, World! diff --git a/projects/zsh.sourceforge.io/package.yml b/projects/zsh.sourceforge.io/package.yml index 36680235..d79245e3 100644 --- a/projects/zsh.sourceforge.io/package.yml +++ b/projects/zsh.sourceforge.io/package.yml @@ -23,7 +23,6 @@ runtime: MODULE_PATH: ${{prefix}}/lib/zsh/{{version.marketing}} build: - dependencies: script: # We need to be able to set MODULE_PATH to the correct location, so we have # to break a small piece of zsh security