Update package version to 8.2.12
This commit is contained in:
@@ -2,10 +2,16 @@
|
||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||
|
||||
# The prepare function is executed in the root of the temp directory
|
||||
# This function is used for putting downloaded files to the correct location or applying patches
|
||||
prepare() {
|
||||
cd "$BPM_SOURCE"
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr --enable-cplusplus --disable-static
|
||||
make
|
||||
}
|
||||
@@ -21,6 +27,7 @@ check() {
|
||||
package() {
|
||||
make DESTDIR="$BPM_OUTPUT" install
|
||||
|
||||
# Install package license
|
||||
cat README.md | awk '/## Copyright & Warranty/,0' > LICENSE.md
|
||||
install -Dm644 "$BPM_SOURCE"/LICENSE.md "$BPM_OUTPUT"/usr/share/licenses/gc/LICENSE.md
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user