mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-11 17:00:37 +00:00
5ae64035a6
When re-installing the port the symlink already exists which causes 'ln -s' to fail.
23 lines
943 B
Bash
Executable file
23 lines
943 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=dmidecode
|
|
version=3.3
|
|
useconfigure=false
|
|
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"
|
|
auth_type="sig"
|
|
auth_import_key="90DFD6523C57373D81F63D19865688D038F02FC8"
|
|
auth_opts="--keyring ./gnu-keyring.gpg dmidecode-${version}.tar.xz.sig"
|
|
|
|
install() {
|
|
run make clean
|
|
run make
|
|
}
|
|
|
|
post_install() {
|
|
mkdir -p "${SERENITY_BUILD_DIR}/Root/bin"
|
|
run make install-bin DESTDIR="${SERENITY_BUILD_DIR}/Root"
|
|
ln -sf /usr/local/sbin/dmidecode "${SERENITY_BUILD_DIR}/Root/bin/dmidecode"
|
|
ln -sf /usr/local/sbin/biosdecode "${SERENITY_BUILD_DIR}/Root/bin/biosdecode"
|
|
ln -sf /usr/local/sbin/vpddecode "${SERENITY_BUILD_DIR}/Root/bin/vpddecode"
|
|
}
|