Switch to new package format

This commit is contained in:
2026-06-13 20:00:31 +03:00
parent 34596291f7
commit a1e399a837
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: mpc
description: Library for the arithmetic of complex numbers with arbitrarily high precision
version: 1.4.1
revision: 1
revision: 2
url: https://www.multiprecision.org/
license: GPL2-or-later
maintainers:
+3 -4
View File
@@ -1,4 +1,4 @@
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package
# 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
@@ -6,8 +6,7 @@
# This function is used to compile the source code
build() {
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/mpc
--disable-static
make
make html
}
@@ -25,5 +24,5 @@ package() {
make DESTDIR="$BPM_OUTPUT" install-html
# Install package license
install -Dm644 COPYING.LESSER "$BPM_OUTPUT"/usr/share/licenses/mpc/COPYING.LESSER
install -Dm644 COPYING.LESSER "$BPM_OUTPUT"/usr/share/licenses/mpc/COPYING
}