Switch to new package format
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
name: mpc
|
name: mpc
|
||||||
description: Library for the arithmetic of complex numbers with arbitrarily high precision
|
description: Library for the arithmetic of complex numbers with arbitrarily high precision
|
||||||
version: 1.4.1
|
version: 1.4.1
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://www.multiprecision.org/
|
url: https://www.multiprecision.org/
|
||||||
license: GPL2-or-later
|
license: GPL2-or-later
|
||||||
maintainers:
|
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 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
|
||||||
|
|
||||||
@@ -6,8 +6,7 @@
|
|||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--disable-static \
|
--disable-static
|
||||||
--docdir=/usr/share/doc/mpc
|
|
||||||
make
|
make
|
||||||
make html
|
make html
|
||||||
}
|
}
|
||||||
@@ -25,5 +24,5 @@ package() {
|
|||||||
make DESTDIR="$BPM_OUTPUT" install-html
|
make DESTDIR="$BPM_OUTPUT" install-html
|
||||||
|
|
||||||
# Install package license
|
# 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