Change installation prefix to /usr

This commit is contained in:
2026-02-09 14:13:41 +02:00
parent df844a0a31
commit 0081397438
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -1,9 +1,11 @@
name: dmidecode
description: Reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard
version: "3.7"
revision: 1
revision: 2
url: https://www.nongnu.org/dmidecode/
license: GPL2-or-later
maintainers:
- [email protected]
architecture: any
type: source
depends:
+2 -2
View File
@@ -5,13 +5,13 @@
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
make prefix=/usr CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" install
make prefix=/usr DESTDIR="$BPM_OUTPUT" install
# Install package license
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/dmidecode/LICENSE