Update package version to 14.0.2
This commit is contained in:
@@ -5,19 +5,14 @@
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_INSTALL_RPATH=ON ..
|
||||
cmake --build .
|
||||
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_INSTALL_RPATH=ON
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
cd build
|
||||
|
||||
DESTDIR="$BPM_OUTPUT" cmake --install .
|
||||
DESTDIR="$BPM_OUTPUT" cmake --install build
|
||||
|
||||
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/graphviz/LICENSE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user