Change installation prefix to /usr
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user