Update package version to 1.1.45
This commit is contained in:
@@ -1,10 +1,24 @@
|
|||||||
name: libxslt
|
name: libxslt
|
||||||
description: XML stylesheet transformation library
|
description: XML stylesheet transformation library
|
||||||
version: 1.1.43
|
version: 1.1.45
|
||||||
|
revision: 1
|
||||||
url: https://gitlab.gnome.org/GNOME/libxslt/
|
url: https://gitlab.gnome.org/GNOME/libxslt/
|
||||||
license: MIT
|
license: MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["bash","glibc","libgcrypt","libxml2","xz-utils"]
|
|
||||||
optional_depends: ["python3"]
|
|
||||||
make_depends: ["python3","docbook-xml"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- bash
|
||||||
|
- glibc
|
||||||
|
- libgcrypt
|
||||||
|
- libxml2
|
||||||
|
- xz-utils
|
||||||
|
optional_depends:
|
||||||
|
- python3
|
||||||
|
make_depends:
|
||||||
|
- python3
|
||||||
|
- docbook-xml
|
||||||
|
downloads:
|
||||||
|
- url: https://download.gnome.org/sources/libxslt/${BPM_PKG_VERSION%.*}/libxslt-${BPM_PKG_VERSION}.tar.xz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 9acfe68419c4d06a45c550321b3212762d92f41465062ca4ea19e632ee5d216e
|
||||||
|
|||||||
@@ -2,25 +2,14 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# 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
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://gitlab.gnome.org/GNOME/libxslt/-/archive/v${BPM_PKG_VERSION}/libxslt-v${BPM_PKG_VERSION}.tar.gz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
|
||||||
# This function is used for downloading files and putting them into the correct location
|
|
||||||
prepare() {
|
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
|
|
||||||
cd "$BPM_SOURCE"
|
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
|
||||||
}
|
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
./configure --prefix=/usr --disable-static
|
./configure --prefix=/usr --disable-static
|
||||||
|
|
||||||
# prevent excessive overlinking due to libtool
|
# prevent excessive overlinking due to libtool
|
||||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
|
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user