Switch to new package format
This commit is contained in:
+1
-1
@@ -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:
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user