mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
TEA_PREFIX > PKGX_DIR; tea.prefix > pkgx.prefix
This commit is contained in:
parent
01d97b0cad
commit
501376b992
|
@ -35,7 +35,7 @@ build:
|
||||||
- working-directory: '{{prefix}}/lib/cmake/absl'
|
- working-directory: '{{prefix}}/lib/cmake/absl'
|
||||||
run: |
|
run: |
|
||||||
sed -i.bak \
|
sed -i.bak \
|
||||||
-e "s:{{ tea.prefix }}:\$\{CMAKE_CURRENT_LIST_DIR\}/../../../../..:g" \
|
-e "s:{{ pkgx.prefix }}:\$\{CMAKE_CURRENT_LIST_DIR\}/../../../../..:g" \
|
||||||
abslTargets{,-release}.cmake
|
abslTargets{,-release}.cmake
|
||||||
rm abslTargets{,-release}.cmake.bak
|
rm abslTargets{,-release}.cmake.bak
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ build:
|
||||||
cd ../build-1
|
cd ../build-1
|
||||||
sed -i.bak \
|
sed -i.bak \
|
||||||
-e "s_{{prefix}}_\$(subst /bin/apr-{{version.major}}-config,,\$(shell command -v apr-{{version.major}}-config))_g" \
|
-e "s_{{prefix}}_\$(subst /bin/apr-{{version.major}}-config,,\$(shell command -v apr-{{version.major}}-config))_g" \
|
||||||
-e "s_${TEA_PREFIX}_\$(subst /apache.org/apr/v{{version}}/bin/apr-{{version.major}}-config,,\$(shell command -v apr-{{version.major}}-config))_g" \
|
-e "s_${PKGX_DIR}_\$(subst /apache.org/apr/v{{version}}/bin/apr-{{version.major}}-config,,\$(shell command -v apr-{{version.major}}-config))_g" \
|
||||||
apr_rules.mk
|
apr_rules.mk
|
||||||
rm apr_rules.mk.bak
|
rm apr_rules.mk.bak
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -33,9 +33,9 @@ build:
|
||||||
- cmake --build build
|
- cmake --build build
|
||||||
- cmake --install build
|
- cmake --install build
|
||||||
- run: |
|
- run: |
|
||||||
sed -i.bak "s|$TEA_PREFIX|\${pcfiledir}/../../../..|g" ./*.pc
|
sed -i.bak "s|$PKGX_DIR|\${pcfiledir}/../../../..|g" ./*.pc
|
||||||
rm ./*.bak
|
rm ./*.bak
|
||||||
working-directory: "{{prefix}}/lib/pkgconfig"
|
working-directory: '{{prefix}}/lib/pkgconfig'
|
||||||
env:
|
env:
|
||||||
CMAKE_ARGS:
|
CMAKE_ARGS:
|
||||||
- -DCMAKE_INSTALL_PREFIX="{{prefix}}
|
- -DCMAKE_INSTALL_PREFIX="{{prefix}}
|
||||||
|
|
|
@ -47,7 +47,7 @@ build:
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
sed -E -i.bak \
|
sed -E -i.bak \
|
||||||
-e "s:{{tea.prefix}}:\$\{_IMPORT_PREFIX\}/../../..:g" \
|
-e "s:{{pkgx.prefix}}:\$\{_IMPORT_PREFIX\}/../../..:g" \
|
||||||
-e '/^ INTERFACE_INCLUDE_DIRECTORIES/ s|/v([0-9]+)(\.[0-9]+)*[a-z]?/include|/v\1/include|g' \
|
-e '/^ INTERFACE_INCLUDE_DIRECTORIES/ s|/v([0-9]+)(\.[0-9]+)*[a-z]?/include|/v\1/include|g' \
|
||||||
-e '/^ INTERFACE_LINK_LIBRARIES/ s|/v([0-9]+)(\.[0-9]+)*[a-z]?/lib|/v\1/lib|g' \
|
-e '/^ INTERFACE_LINK_LIBRARIES/ s|/v([0-9]+)(\.[0-9]+)*[a-z]?/lib|/v\1/lib|g' \
|
||||||
folly-targets.cmake
|
folly-targets.cmake
|
||||||
|
|
|
@ -29,7 +29,7 @@ build:
|
||||||
working-directory: build
|
working-directory: build
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
sed -i.bak -e "s| $TEA_PREFIX/| \$TEA_PREFIX/|g" __fish_build_paths.fish
|
sed -i.bak -e "s| $PKGX_DIR/| \$PKGX_DIR/|g" __fish_build_paths.fish
|
||||||
rm __fish_build_paths.fish.bak
|
rm __fish_build_paths.fish.bak
|
||||||
working-directory: ${{prefix}}/share/fish
|
working-directory: ${{prefix}}/share/fish
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -33,8 +33,8 @@ build:
|
||||||
- make --jobs {{hw.concurrency}} install
|
- make --jobs {{hw.concurrency}} install
|
||||||
- run: |
|
- run: |
|
||||||
sed -i.bak "1s|.*|#!/usr/bin/env perl|g" afmtodit grog gropdf mmroff pdfmom
|
sed -i.bak "1s|.*|#!/usr/bin/env perl|g" afmtodit grog gropdf mmroff pdfmom
|
||||||
sed -i.bak "s|$TEA_PREFIX|\$ENV{'TEA_PREFIX'}|g" afmtodit chem glilypond gperl gropdf
|
sed -i.bak "s|$PKGX_DIR|\$ENV{'PKGX_DIR'}|g" afmtodit chem glilypond gperl gropdf
|
||||||
sed -i.bak "s|$TEA_PREFIX|\$TEA_PREFIX|g" neqn nroff
|
sed -i.bak "s|$PKGX_DIR|\$PKGX_DIR|g" neqn nroff
|
||||||
rm ./*.bak
|
rm ./*.bak
|
||||||
working-directory: '{{prefix}}/bin'
|
working-directory: '{{prefix}}/bin'
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -36,7 +36,6 @@ provides:
|
||||||
- bin/runhaskell-{{version.marketing}}
|
- bin/runhaskell-{{version.marketing}}
|
||||||
- bin/runhaskell-{{version}}
|
- bin/runhaskell-{{version}}
|
||||||
|
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
gnu.org/gmp: 6
|
gnu.org/gmp: 6
|
||||||
invisible-island.net/ncurses: 6
|
invisible-island.net/ncurses: 6
|
||||||
|
@ -58,11 +57,11 @@ build:
|
||||||
- run: ln -s .ghcup/* .
|
- run: ln -s .ghcup/* .
|
||||||
working-directory: ${{prefix}}
|
working-directory: ${{prefix}}
|
||||||
- run: |
|
- run: |
|
||||||
find . -type f -print0 | xargs -0 sed -i.bak -e "s|$TEA_PREFIX|\$TEA_PREFIX|g"
|
find . -type f -print0 | xargs -0 sed -i.bak -e "s|$PKGX_DIR|\$PKGX_DIR|g"
|
||||||
rm *.bak
|
rm *.bak
|
||||||
working-directory: ${{prefix}}/ghc/{{version}}/bin
|
working-directory: ${{prefix}}/ghc/{{version}}/bin
|
||||||
- run: |
|
- run: |
|
||||||
sed -i.bak -e "s|$TEA_PREFIX|\$TEA_PREFIX|g" env
|
sed -i.bak -e "s|$PKGX_DIR|\$PKGX_DIR|g" env
|
||||||
rm env.bak
|
rm env.bak
|
||||||
working-directory: ${{prefix}}/.ghcup
|
working-directory: ${{prefix}}/.ghcup
|
||||||
- run: |
|
- run: |
|
||||||
|
@ -82,5 +81,4 @@ test:
|
||||||
- ghc-pkg recache
|
- ghc-pkg recache
|
||||||
- ghc-pkg check
|
- ghc-pkg check
|
||||||
- test "$(runghc $FIXTURE)" = "Hello World"
|
- test "$(runghc $FIXTURE)" = "Hello World"
|
||||||
fixture:
|
fixture: main = putStrLn "Hello World"
|
||||||
main = putStrLn "Hello World"
|
|
||||||
|
|
|
@ -81,7 +81,7 @@ build:
|
||||||
rm $shim.bak
|
rm $shim.bak
|
||||||
done
|
done
|
||||||
|
|
||||||
sed -i.bak 's|{{tea.prefix}}|$TEA_PREFIX|g' "{{prefix}}/bin/hsc2hs-ghc-{{version}}"
|
sed -i.bak "s|$PKGX_DIR|\$PKGX_DIR|g" "{{prefix}}/bin/hsc2hs-ghc-{{version}}"
|
||||||
rm "{{prefix}}/bin/hsc2hs-ghc-{{version}}.bak"
|
rm "{{prefix}}/bin/hsc2hs-ghc-{{version}}.bak"
|
||||||
env:
|
env:
|
||||||
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1
|
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1
|
||||||
|
|
|
@ -98,4 +98,4 @@ test:
|
||||||
- ./a.out
|
- ./a.out
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- -Wl,-rpath,$TEA_PREFIX
|
- -Wl,-rpath,$PKGX_DIR
|
||||||
|
|
|
@ -16,7 +16,7 @@ build:
|
||||||
script:
|
script:
|
||||||
- ./configure $CONFIGURE_ARGS
|
- ./configure $CONFIGURE_ARGS
|
||||||
- make --jobs {{hw.concurrency}} install
|
- make --jobs {{hw.concurrency}} install
|
||||||
- sed -i.bak "s|$TEA_PREFIX|\$TEA_PREFIX|g" {{prefix}}/etc/systemd/system/man-db.service
|
- sed -i.bak "s|$PKGX_DIR|\$PKGX_DIR|g" {{prefix}}/etc/systemd/system/man-db.service
|
||||||
- rm {{prefix}}/etc/systemd/system/man-db.service.bak
|
- rm {{prefix}}/etc/systemd/system/man-db.service.bak
|
||||||
- run: |
|
- run: |
|
||||||
# Creating stubs
|
# Creating stubs
|
||||||
|
@ -36,7 +36,7 @@ build:
|
||||||
rm lexgrog man-recode
|
rm lexgrog man-recode
|
||||||
ln -s ../libexec/bin/lexgrog lexgrog
|
ln -s ../libexec/bin/lexgrog lexgrog
|
||||||
ln -s ../libexec/bin/man-recode man-recode
|
ln -s ../libexec/bin/man-recode man-recode
|
||||||
working-directory: "{{prefix}}/bin"
|
working-directory: '{{prefix}}/bin'
|
||||||
env:
|
env:
|
||||||
CONFIGURE_ARGS:
|
CONFIGURE_ARGS:
|
||||||
- --disable-debug
|
- --disable-debug
|
||||||
|
|
|
@ -38,11 +38,11 @@ build:
|
||||||
fix-shebangs.ts libexec/mc/extfs.d/*
|
fix-shebangs.ts libexec/mc/extfs.d/*
|
||||||
|
|
||||||
for x in $(find libexec/mc -name \*sh -type f -depth 1) libexec/mc/ext.d/misc.sh; do
|
for x in $(find libexec/mc -name \*sh -type f -depth 1) libexec/mc/ext.d/misc.sh; do
|
||||||
sed -i.bak 's|{{tea.prefix}}|$TEA_PREFIX|g' $x
|
sed -i.bak "s|$PKGX_DIR|\$PKGX_DIR|g" $x
|
||||||
rm $x.bak
|
rm $x.bak
|
||||||
done
|
done
|
||||||
|
|
||||||
sed -i.bak 's|{{tea.prefix}}|%p/../|g' etc/mc/mc.ext*
|
sed -i.bak "s|$PKGX_DIR|%p/../|g" etc/mc/mc.ext*
|
||||||
rm etc/mc/mc.ext*.bak
|
rm etc/mc/mc.ext*.bak
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
@ -51,6 +51,5 @@ build:
|
||||||
- --with-screen=ncurses
|
- --with-screen=ncurses
|
||||||
|
|
||||||
# FIXME: hard to test interactive tools
|
# FIXME: hard to test interactive tools
|
||||||
test:
|
test: test "$(mc --datadir | cut -d ' ' -f1 | cut -d':' -f1)" = "{{prefix}}/etc/mc/"
|
||||||
test "$(mc --datadir | cut -d ' ' -f1 | cut -d':' -f1)" = "{{prefix}}/etc/mc/"
|
|
||||||
# ^^ tests relocatability
|
# ^^ tests relocatability
|
||||||
|
|
|
@ -38,7 +38,7 @@ build:
|
||||||
- make --jobs {{ hw.concurrency }} all
|
- make --jobs {{ hw.concurrency }} all
|
||||||
- make --jobs {{ hw.concurrency }} install
|
- make --jobs {{ hw.concurrency }} install
|
||||||
- run: |
|
- run: |
|
||||||
sed -i.bak "s|$TEA_PREFIX|\${pcfiledir}/../../../..|g" ompi-c.pc ompi-cxx.pc ompi-fort.pc ompi.pc orte.pc pmix.pc
|
sed -i.bak "s|$PKGX_DIR|\${pcfiledir}/../../../..|g" ompi-c.pc ompi-cxx.pc ompi-fort.pc ompi.pc orte.pc pmix.pc
|
||||||
rm ./*.bak
|
rm ./*.bak
|
||||||
working-directory: '{{prefix}}/lib/pkgconfig'
|
working-directory: '{{prefix}}/lib/pkgconfig'
|
||||||
- run: |
|
- run: |
|
||||||
|
|
|
@ -32,7 +32,7 @@ build:
|
||||||
- make --jobs {{ hw.concurrency }}
|
- make --jobs {{ hw.concurrency }}
|
||||||
- make --jobs {{ hw.concurrency }} check
|
- make --jobs {{ hw.concurrency }} check
|
||||||
- make --jobs {{ hw.concurrency }} install
|
- make --jobs {{ hw.concurrency }} install
|
||||||
- sed -i.bak "s|$TEA_PREFIX|\$TEA_PREFIX|g" {{prefix}}/bin/dap-config
|
- sed -i.bak "s|$PKGX_DIR|\$PKGX_DIR|g" {{prefix}}/bin/dap-config
|
||||||
env:
|
env:
|
||||||
darwin:
|
darwin:
|
||||||
PATCH: https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.diff
|
PATCH: https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.diff
|
||||||
|
|
|
@ -41,7 +41,7 @@ build:
|
||||||
GVISOR_MAJOR: |-
|
GVISOR_MAJOR: |-
|
||||||
$(cd "{{deps.github.com/containers/gvisor-tap-vsock.prefix}}/../\
|
$(cd "{{deps.github.com/containers/gvisor-tap-vsock.prefix}}/../\
|
||||||
/v{{deps.github.com/containers/gvisor-tap-vsock.version.major}}" \
|
/v{{deps.github.com/containers/gvisor-tap-vsock.version.major}}" \
|
||||||
&& pwd | sed -e "s_$TEA_PREFIX/__")
|
&& pwd | sed -e "s_$PKGX_DIR/__")
|
||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
@ -49,4 +49,3 @@ test:
|
||||||
podman-remote -v | grep "podman-remote version {{ version }}"
|
podman-remote -v | grep "podman-remote version {{ version }}"
|
||||||
(podman info 2>&1 || true) | grep "Cannot connect to Podman."
|
(podman info 2>&1 || true) | grep "Cannot connect to Podman."
|
||||||
(podman machine init --image-path fake-testimage fake-testvm 2>&1 || true) | grep "Error: open fake-testimage: no such file or directory"
|
(podman machine init --image-path fake-testimage fake-testvm 2>&1 || true) | grep "Error: open fake-testimage: no such file or directory"
|
||||||
|
|
||||||
|
|
|
@ -167,10 +167,10 @@ build:
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|
||||||
tea_prefix = os.path.normpath(os.path.join(os.path.dirname(__file__), '../../../../'))
|
pkgx_prefix = os.path.normpath(os.path.join(os.path.dirname(__file__), '../../../../'))
|
||||||
for key in build_time_vars:
|
for key in build_time_vars:
|
||||||
if isinstance(build_time_vars[key], str):
|
if isinstance(build_time_vars[key], str):
|
||||||
build_time_vars[key] = re.sub(r'(\s|^)/opt/', r'\g<1>{}/'.format(tea_prefix), build_time_vars[key])
|
build_time_vars[key] = re.sub(r'(\s|^)/opt/', r'\g<1>{}/'.format(pkgx_prefix), build_time_vars[key])
|
||||||
|
|
||||||
# force pip to user-install mode without sudo
|
# force pip to user-install mode without sudo
|
||||||
- ln -s /dev {{prefix}}/lib/python{{version.marketing}}/site-packages
|
- ln -s /dev {{prefix}}/lib/python{{version.marketing}}/site-packages
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
# - for tea-envs the user probably won’t use tea.xyz/gx/cc even though they *should*
|
# - for tea-envs the user probably won’t use tea.xyz/gx/cc even though they *should*
|
||||||
# and thus we set LDFLAGS in the hope that they will be picked up and the rpath set
|
# and thus we set LDFLAGS in the hope that they will be picked up and the rpath set
|
||||||
|
|
||||||
$tea_prefix = ENV['TEA_PREFIX'] || `tea --prefix`.chomp
|
$pkgx_prefix = ENV['PKGX_DIR'] || `tea --prefix`.chomp
|
||||||
exe = File.basename($0)
|
exe = File.basename($0)
|
||||||
|
|
||||||
# remove duplicates since this in fact embeds the rpath multiple times
|
# remove duplicates since this in fact embeds the rpath multiple times
|
||||||
# and omit -nodefaultrpaths since it is not a valid flag for clang
|
# and omit -nodefaultrpaths since it is not a valid flag for clang
|
||||||
args = ARGV.map do |arg|
|
args = ARGV.map do |arg|
|
||||||
arg unless arg == "-Wl,-rpath,#$tea_prefix" or arg == "-nodefaultrpaths"
|
arg unless arg == "-Wl,-rpath,#$pkgx_prefix" or arg == "-nodefaultrpaths"
|
||||||
end.compact
|
end.compact
|
||||||
|
|
||||||
def is_tea? path
|
def is_tea? path
|
||||||
|
@ -26,7 +26,7 @@ end
|
||||||
exe_path = ENV['PATH'].split(":").filter { |path|
|
exe_path = ENV['PATH'].split(":").filter { |path|
|
||||||
if path == File.dirname(__FILE__)
|
if path == File.dirname(__FILE__)
|
||||||
false
|
false
|
||||||
elsif path == File.join($tea_prefix, ".local/bin")
|
elsif path == File.join($pkgx_prefix, ".local/bin")
|
||||||
false
|
false
|
||||||
elsif is_tea?(path)
|
elsif is_tea?(path)
|
||||||
false
|
false
|
||||||
|
@ -52,7 +52,7 @@ for arg in args do
|
||||||
# we aren't sure what the rules are TBH, possibly it is as simple as if the output (`-o`)
|
# we aren't sure what the rules are TBH, possibly it is as simple as if the output (`-o`)
|
||||||
# is a .o then we don’t add the rpath
|
# is a .o then we don’t add the rpath
|
||||||
if arg.start_with? '-l' or arg.end_with? '.dylib'
|
if arg.start_with? '-l' or arg.end_with? '.dylib'
|
||||||
exec exe_path, *args, "-Wl,-rpath,#$tea_prefix"
|
exec exe_path, *args, "-Wl,-rpath,#$pkgx_prefix"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if test -z "$TEA_PREFIX"
|
if test -z "$PKGX_DIR"
|
||||||
then
|
then
|
||||||
echo 'TEA_PREFIX mysteriously unset' >&2
|
echo 'PKGX_DIR mysteriously unset' >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ __which() {
|
||||||
# Otherwise, fallback to `ld`
|
# Otherwise, fallback to `ld`
|
||||||
# NB: this might not have the right invocations, sometimes;
|
# NB: this might not have the right invocations, sometimes;
|
||||||
# (invoking `ld` as `lld64.ld`) watch for those potential cases
|
# (invoking `ld` as `lld64.ld`) watch for those potential cases
|
||||||
if __which $(basename "$0") || __which ld; then
|
if __which "$(basename "$0")" || __which ld; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
echo 'ld not found in PATH' >&2
|
echo 'ld not found in PATH' >&2
|
||||||
|
@ -53,4 +53,4 @@ for word in "$@"; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
exec "$exe" "$@" -rpath "$TEA_PREFIX"
|
exec "$exe" "$@" -rpath "$PKGX_DIR"
|
||||||
|
|
|
@ -20,7 +20,7 @@ build:
|
||||||
make -j {{ hw.concurrency }} install
|
make -j {{ hw.concurrency }} install
|
||||||
|
|
||||||
cd {{prefix}}/bin
|
cd {{prefix}}/bin
|
||||||
sed -i.bak -e "s|$TEA_PREFIX/|$(tea --prefix)/|g" unbound-control-setup
|
sed -i.bak -e "s|$PKGX_DIR/|$(tea --prefix)/|g" unbound-control-setup
|
||||||
rm unbound-control-setup.bak
|
rm unbound-control-setup.bak
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
|
@ -40,8 +40,8 @@ test:
|
||||||
- grep "$TEST1" <<< "$OUT"
|
- grep "$TEST1" <<< "$OUT"
|
||||||
- grep "$TEST2" <<< "$OUT"
|
- grep "$TEST2" <<< "$OUT"
|
||||||
env:
|
env:
|
||||||
TEST1: "tea.xyz has address"
|
TEST1: 'tea.xyz has address'
|
||||||
TEST2: "tea.xyz mail is handled by"
|
TEST2: 'tea.xyz mail is handled by'
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/unbound
|
- bin/unbound
|
||||||
|
|
|
@ -28,14 +28,14 @@ build:
|
||||||
- install build_static/liblib/libnetcdf.a {{prefix}}/lib/
|
- install build_static/liblib/libnetcdf.a {{prefix}}/lib/
|
||||||
- run: |
|
- run: |
|
||||||
sed -i.bak \
|
sed -i.bak \
|
||||||
-e "s|$TEA_PREFIX|\${TEA_PREFIX}|g" \
|
-e "s|$PKGX_DIR|\${PKGX_DIR}|g" \
|
||||||
bin/nc-config \
|
bin/nc-config \
|
||||||
lib/cmake/netCDF/netCDFConfig.cmake \
|
lib/cmake/netCDF/netCDFConfig.cmake \
|
||||||
lib/libnetcdf.settings
|
lib/libnetcdf.settings
|
||||||
rm bin/nc-config.bak lib/cmake/netCDF/netCDFConfig.cmake.bak lib/libnetcdf.settings.bak
|
rm bin/nc-config.bak lib/cmake/netCDF/netCDFConfig.cmake.bak lib/libnetcdf.settings.bak
|
||||||
working-directory: ${{prefix}}
|
working-directory: ${{prefix}}
|
||||||
- run: |
|
- run: |
|
||||||
sed -i.bak "s|$TEA_PREFIX|\${pcfiledir}/../../..|g" netcdf.pc
|
sed -i.bak "s|$PKGX_DIR|\${pcfiledir}/../../..|g" netcdf.pc
|
||||||
rm netcdf.pc.bak
|
rm netcdf.pc.bak
|
||||||
working-directory: ${{prefix}}/lib/pkgconfig
|
working-directory: ${{prefix}}/lib/pkgconfig
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -24,7 +24,7 @@ build:
|
||||||
--enable-spec=no
|
--enable-spec=no
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -20,7 +20,7 @@ build:
|
||||||
./configure $ARGS
|
./configure $ARGS
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
- --sysconfdir="$SHELF"/etc
|
- --sysconfdir="$SHELF"/etc
|
||||||
|
|
|
@ -20,7 +20,7 @@ build:
|
||||||
--localstatedir="$SHELF"/var
|
--localstatedir="$SHELF"/var
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -20,7 +20,7 @@ build:
|
||||||
--localstatedir="$SHELF"/var
|
--localstatedir="$SHELF"/var
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
|
|
||||||
runtime:
|
runtime:
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -23,7 +23,7 @@ build:
|
||||||
--localstatedir="$SHELF"/var
|
--localstatedir="$SHELF"/var
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -23,7 +23,7 @@ build:
|
||||||
./configure $ARGS
|
./configure $ARGS
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
- --sysconfdir="$SHELF"/etc
|
- --sysconfdir="$SHELF"/etc
|
||||||
|
|
|
@ -23,7 +23,7 @@ build:
|
||||||
--localstatedir="$SHELF"/var
|
--localstatedir="$SHELF"/var
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -26,7 +26,7 @@ build:
|
||||||
--localstatedir="$SHELF"/var
|
--localstatedir="$SHELF"/var
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -25,7 +25,7 @@ build:
|
||||||
- ./configure $ARGS
|
- ./configure $ARGS
|
||||||
- make --jobs {{ hw.concurrency }} install
|
- make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
- --sysconfdir="$SHELF"/etc
|
- --sysconfdir="$SHELF"/etc
|
||||||
|
|
|
@ -22,8 +22,8 @@ build:
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix={{prefix}}
|
- --prefix={{prefix}}
|
||||||
- --sysconfdir={{tea.prefix}}/x.org/etc
|
- --sysconfdir={{pkgx.prefix}}/x.org/etc
|
||||||
- --localstatedir={{tea.prefix}}/x.org/var
|
- --localstatedir={{pkgx.prefix}}/x.org/var
|
||||||
- --disable-dependency-tracking
|
- --disable-dependency-tracking
|
||||||
- --disable-silent-rules
|
- --disable-silent-rules
|
||||||
test:
|
test:
|
||||||
|
|
|
@ -27,8 +27,8 @@ build:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
- --disable-dependency-tracking
|
- --disable-dependency-tracking
|
||||||
- --disable-silent-rules
|
- --disable-silent-rules
|
||||||
- --sysconfdir={{tea.prefix}}/x.org/etc
|
- --sysconfdir={{pkgx.prefix}}/x.org/etc
|
||||||
- --localstatedir={{tea.prefix}}/x.org/var
|
- --localstatedir={{pkgx.prefix}}/x.org/var
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -22,7 +22,7 @@ build:
|
||||||
--localstatedir="$SHELF"/var
|
--localstatedir="$SHELF"/var
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -26,8 +26,8 @@ build:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
- --disable-dependency-tracking
|
- --disable-dependency-tracking
|
||||||
- --disable-silent-rules
|
- --disable-silent-rules
|
||||||
- --sysconfdir={{tea.prefix}}/x.org/etc
|
- --sysconfdir={{pkgx.prefix}}/x.org/etc
|
||||||
- --localstatedir={{tea.prefix}}/x.org/var
|
- --localstatedir={{pkgx.prefix}}/x.org/var
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -28,8 +28,8 @@ build:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
- --disable-dependency-tracking
|
- --disable-dependency-tracking
|
||||||
- --disable-silent-rules
|
- --disable-silent-rules
|
||||||
- --sysconfdir={{tea.prefix}}/x.org/etc
|
- --sysconfdir={{pkgx.prefix}}/x.org/etc
|
||||||
- --localstatedir={{tea.prefix}}/x.org/var
|
- --localstatedir={{pkgx.prefix}}/x.org/var
|
||||||
- --enable-docs=no
|
- --enable-docs=no
|
||||||
- --enable-specs=no
|
- --enable-specs=no
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,8 @@ build:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
- --disable-dependency-tracking
|
- --disable-dependency-tracking
|
||||||
- --disable-silent-rules
|
- --disable-silent-rules
|
||||||
- --sysconfdir={{tea.prefix}}/x.org/etc
|
- --sysconfdir={{pkgx.prefix}}/x.org/etc
|
||||||
- --localstatedir={{tea.prefix}}/x.org/var
|
- --localstatedir={{pkgx.prefix}}/x.org/var
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -30,8 +30,8 @@ build:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
- --disable-dependency-tracking
|
- --disable-dependency-tracking
|
||||||
- --disable-silent-rules
|
- --disable-silent-rules
|
||||||
- --sysconfdir={{tea.prefix}}/x.org/etc
|
- --sysconfdir={{pkgx.prefix}}/x.org/etc
|
||||||
- --localstatedir={{tea.prefix}}/x.org/var
|
- --localstatedir={{pkgx.prefix}}/x.org/var
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/xinput
|
- bin/xinput
|
||||||
|
|
|
@ -23,7 +23,7 @@ build:
|
||||||
--localstatedir="$SHELF"/var
|
--localstatedir="$SHELF"/var
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -25,7 +25,7 @@ build:
|
||||||
--disable-open-zfile
|
--disable-open-zfile
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -28,8 +28,8 @@ build:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
- --disable-dependency-tracking
|
- --disable-dependency-tracking
|
||||||
- --disable-silent-rules
|
- --disable-silent-rules
|
||||||
- --sysconfdir={{tea.prefix}}/x.org/etc
|
- --sysconfdir={{pkgx.prefix}}/x.org/etc
|
||||||
- --localstatedir={{tea.prefix}}/x.org/var
|
- --localstatedir={{pkgx.prefix}}/x.org/var
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -23,7 +23,7 @@ build:
|
||||||
--localstatedir="$SHELF"/var
|
--localstatedir="$SHELF"/var
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -25,8 +25,8 @@ build:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
- --disable-dependency-tracking
|
- --disable-dependency-tracking
|
||||||
- --disable-silent-rules
|
- --disable-silent-rules
|
||||||
- --sysconfdir={{tea.prefix}}/x.org/etc
|
- --sysconfdir={{pkgx.prefix}}/x.org/etc
|
||||||
- --localstatedir={{tea.prefix}}/x.org/var
|
- --localstatedir={{pkgx.prefix}}/x.org/var
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -25,7 +25,7 @@ build:
|
||||||
--with-appdefaultdir="$SHELF"/etc/X11/app-defaults
|
--with-appdefaultdir="$SHELF"/etc/X11/app-defaults
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -29,7 +29,7 @@ build:
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
env:
|
env:
|
||||||
SHELF: ${{tea.prefix}}/x.org
|
SHELF: ${{pkgx.prefix}}/x.org
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -22,8 +22,8 @@ build:
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix={{prefix}}
|
- --prefix={{prefix}}
|
||||||
- --sysconfdir={{tea.prefix}}/x.org/etc
|
- --sysconfdir={{pkgx.prefix}}/x.org/etc
|
||||||
- --localstatedir={{tea.prefix}}/x.org/var
|
- --localstatedir={{pkgx.prefix}}/x.org/var
|
||||||
- --disable-dependency-tracking
|
- --disable-dependency-tracking
|
||||||
- --disable-silent-rules
|
- --disable-silent-rules
|
||||||
- --enable-specs=no
|
- --enable-specs=no
|
||||||
|
|
|
@ -28,8 +28,8 @@ build:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
- --disable-dependency-tracking
|
- --disable-dependency-tracking
|
||||||
- --disable-silent-rules
|
- --disable-silent-rules
|
||||||
- --sysconfdir={{tea.prefix}}/x.org/etc
|
- --sysconfdir={{pkgx.prefix}}/x.org/etc
|
||||||
- --localstatedir={{tea.prefix}}/x.org/var
|
- --localstatedir={{pkgx.prefix}}/x.org/var
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -27,8 +27,8 @@ build:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
- --disable-dependency-tracking
|
- --disable-dependency-tracking
|
||||||
- --disable-silent-rules
|
- --disable-silent-rules
|
||||||
- --sysconfdir={{tea.prefix}}/x.org/etc
|
- --sysconfdir={{pkgx.prefix}}/x.org/etc
|
||||||
- --localstatedir={{tea.prefix}}/x.org/var
|
- --localstatedir={{pkgx.prefix}}/x.org/var
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in a new issue