Update package version to 3.0.11
This commit is contained in:
@@ -1,9 +1,22 @@
|
||||
name: guile
|
||||
description: Scheme programming language implementation by GNU
|
||||
version: 3.0.10
|
||||
version: 3.0.11
|
||||
revision: 1
|
||||
url: https://www.gnu.org/software/guile/
|
||||
license: GPL3-or-later,LGPL3-or-later
|
||||
architecture: any
|
||||
depends: ["gc","gmp","libffi","libunistring","libxcrypt","ncurses"]
|
||||
make_depends: ["texinfo"]
|
||||
type: source
|
||||
depends:
|
||||
- gc
|
||||
- gmp
|
||||
- libffi
|
||||
- libunistring
|
||||
- libxcrypt
|
||||
- ncurses
|
||||
make_depends:
|
||||
- texinfo
|
||||
downloads:
|
||||
- url: https://ftpmirror.gnu.org/gnu/guile/guile-${BPM_PKG_VERSION}.tar.xz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: 818c79d236657a7fa96fb364137cc7b41b3bdee0d65c6174ca03769559579460
|
||||
|
||||
@@ -2,27 +2,21 @@
|
||||
# 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://ftpmirror.gnu.org/gnu/guile/guile-${BPM_PKG_VERSION}.tar.xz"
|
||||
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"
|
||||
}
|
||||
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
./configure --prefix=/usr --disable-static
|
||||
./configure --prefix=/usr --disable-static --disable-error-on-warning
|
||||
|
||||
# Prevent overlinking due to libtool
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
# The check function is executed in the source directory
|
||||
# This function is used to run tests to verify the package has been compiled correctly
|
||||
check() {
|
||||
./check-guile
|
||||
make check
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
@@ -30,5 +24,9 @@ check() {
|
||||
package() {
|
||||
make DESTDIR="$BPM_OUTPUT" install
|
||||
|
||||
# Remove unwanted files
|
||||
rm "$BPM_OUTPUT"/usr/lib/libguile-3.?.so.*-gdb.scm
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/guile/COPYING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user