Update package version to 0.2.13

This commit is contained in:
2025-09-17 22:08:09 +03:00
parent 71e6843107
commit e7b3f75abf
3 changed files with 18 additions and 3 deletions
+4 -1
View File
@@ -2,7 +2,7 @@
# 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
DOWNLOAD="https://sourceforge.net/projects/wvware/files/libwmf/${BPM_PKG_VERSION}/libwmf-${BPM_PKG_VERSION}.tar.gz/download"
DOWNLOAD="https://github.com/caolanm/libwmf/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory
@@ -16,6 +16,8 @@ prepare() {
# This function is used to compile the source code
build() {
./configure --prefix=/usr --with-gsfontmap=/usr/share/ghostscript/Resource/Init/Fontmap.GS --with-gsfontdir=/usr/share/fonts/gsfonts
# prevent excessive overlinking due to libtool
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
@@ -24,5 +26,6 @@ build() {
package() {
make DESTDIR="$BPM_OUTPUT" install
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/libwmf/COPYING
}