mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-11 22:05:23 +01:00
Fix various things to use ${DESTDIR}
This commit is contained in:
parent
016b9511d2
commit
b8ef19150c
28 changed files with 46 additions and 36 deletions
|
|
@ -29,7 +29,10 @@ src_configure() {
|
|||
|
||||
src_install() {
|
||||
# Do not install prebuilt .mo translation catalogs
|
||||
install bash "${DESTDIR}${PREFIX}/bin"
|
||||
install -D bash "${DESTDIR}${PREFIX}/bin/bash"
|
||||
# Work around weird symlink bug
|
||||
install bash "${DESTDIR}${PREFIX}/bin/sh"
|
||||
|
||||
# Needs special handling b/c is currently running - tar doesn't like this
|
||||
rm -f "${PREFIX}/bin/bash" "${PREFIX}/bin/sh"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -132,6 +132,6 @@ endef
|
|||
$(foreach f,$(EXTENSIONS),$(eval $(call build_rule,$f)))
|
||||
|
||||
install: all
|
||||
install perl "$(DESTDIR)$(PREFIX)/bin/perl"
|
||||
install -D perl "$(DESTDIR)$(PREFIX)/bin/perl"
|
||||
mkdir -p "$(DESTDIR)$(PRIVLIB_EXP)"
|
||||
cp -r lib/* "$(DESTDIR)$(PRIVLIB_EXP)"
|
||||
|
|
|
|||
|
|
@ -15,5 +15,5 @@ src_configure() {
|
|||
src_install() {
|
||||
default
|
||||
|
||||
rm "${PREFIX}/lib/musl/libxbps.so"*
|
||||
rm "${DESTDIR}${PREFIX}/lib/musl/libxbps.so"*
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue