mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:27:45 +00:00
Ports: Replace hardcoded Build/ paths with SERENITY_BUILD_DIR
Fixes #5710.
This commit is contained in:
parent
f45e16a6a2
commit
f318ab6bed
29 changed files with 65 additions and 74 deletions
|
@ -2,7 +2,6 @@
|
|||
port=dmidecode
|
||||
version=3.3
|
||||
useconfigure=false
|
||||
prefix=
|
||||
files="https://download.savannah.gnu.org/releases/dmidecode/dmidecode-${version}.tar.xz dmidecode-${version}.tar.xz
|
||||
https://download.savannah.gnu.org/releases/dmidecode/dmidecode-${version}.tar.xz.sig dmidecode-${version}.tar.xz.sig
|
||||
https://ftp.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
|
||||
|
@ -16,9 +15,9 @@ install() {
|
|||
}
|
||||
|
||||
post_install() {
|
||||
mkdir -p $SERENITY_ROOT/Build/Root/bin
|
||||
run make install-bin DESTDIR=$SERENITY_ROOT/Build/Root/
|
||||
ln -s /usr/local/sbin/dmidecode $SERENITY_ROOT/Build/Root/bin/dmidecode
|
||||
ln -s /usr/local/sbin/biosdecode $SERENITY_ROOT/Build/Root/bin/biosdecode
|
||||
ln -s /usr/local/sbin/vpddecode $SERENITY_ROOT/Build/Root/bin/vpddecode
|
||||
mkdir -p "${SERENITY_BUILD_DIR}/Root/bin"
|
||||
run make install-bin DESTDIR="${SERENITY_BUILD_DIR}/Root"
|
||||
ln -s /usr/local/sbin/dmidecode "${SERENITY_BUILD_DIR}/Root/bin/dmidecode"
|
||||
ln -s /usr/local/sbin/biosdecode "${SERENITY_BUILD_DIR}/Root/bin/biosdecode"
|
||||
ln -s /usr/local/sbin/vpddecode "${SERENITY_BUILD_DIR}/Root/bin/vpddecode"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue