mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
rm tea --prefix
This commit is contained in:
parent
90a0de5e50
commit
4fa1a85aff
5 changed files with 5 additions and 5 deletions
|
@ -37,7 +37,7 @@ build:
|
||||||
- make
|
- make
|
||||||
- cp lib/libwangle.a {{prefix}}/lib
|
- cp lib/libwangle.a {{prefix}}/lib
|
||||||
|
|
||||||
- sed -i.bak "s:$(tea --prefix):\$\{_IMPORT_PREFIX\}/../../../..:g" "{{prefix}}"/lib/cmake/wangle/wangle-targets.cmake
|
- sed -i.bak "s:$PKGX_DIR:\$\{_IMPORT_PREFIX\}/../../../..:g" "{{prefix}}"/lib/cmake/wangle/wangle-targets.cmake
|
||||||
- rm "{{prefix}}"/lib/cmake/wangle/wangle-targets.cmake.bak
|
- rm "{{prefix}}"/lib/cmake/wangle/wangle-targets.cmake.bak
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
|
|
|
@ -33,7 +33,7 @@ build:
|
||||||
cmake --build build
|
cmake --build build
|
||||||
cmake --install build
|
cmake --install build
|
||||||
|
|
||||||
sed -i.bak "s:$(tea --prefix):\$\{_IMPORT_PREFIX\}/../../../..:g" "{{prefix}}"/lib/cmake/fizz/fizz-targets.cmake
|
sed -i.bak "s:$PKGX_DIR:\$\{_IMPORT_PREFIX\}/../../../..:g" "{{prefix}}"/lib/cmake/fizz/fizz-targets.cmake
|
||||||
rm "{{prefix}}"/lib/cmake/fizz/fizz-targets.cmake.bak
|
rm "{{prefix}}"/lib/cmake/fizz/fizz-targets.cmake.bak
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
|
|
|
@ -157,7 +157,7 @@ build:
|
||||||
rm $binfile.bak
|
rm $binfile.bak
|
||||||
done
|
done
|
||||||
|
|
||||||
sed -i.bak -e 's|{{ prefix }}|\\$(shell tea --prefix)/python.org/v{{version.major}}|g' $confdir/Makefile
|
sed -i.bak -e 's|{{ prefix }}|\\$(or $(PKGX_DIR),$(HOME)/.pkgx)/python.org/v{{version.major}}|g' $confdir/Makefile
|
||||||
rm $confdir/Makefile.bak
|
rm $confdir/Makefile.bak
|
||||||
working-directory: ${{prefix}}
|
working-directory: ${{prefix}}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# - 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
|
||||||
|
|
||||||
$pkgx_prefix = ENV['PKGX_DIR'] || `tea --prefix`.chomp
|
$pkgx_prefix = ENV['PKGX_DIR'] || ENV['HOME'].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
|
||||||
|
|
|
@ -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|$PKGX_DIR/|$(tea --prefix)/|g" unbound-control-setup
|
sed -i.bak -e "s|$PKGX_DIR/|\$PKGX_DIR/|g" unbound-control-setup
|
||||||
rm unbound-control-setup.bak
|
rm unbound-control-setup.bak
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
|
|
Loading…
Reference in a new issue