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
+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