From 864e59ef79cb9a8524d978e720e5a4457ab27b1f Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Wed, 15 Jan 2020 11:16:57 +0100 Subject: [PATCH 1/2] mpfr: migrate 3.1.3 to compat-3.1.6 - be0ified - keep /usr/lib/libmpfr.so.4 - still used by gawk, gdb, lvm, redland, gcc, libblockdev etc --- mpfr-3.1.3-1.bee | 22 --------------------- mpfr_compat-3.1.6-0.be0 | 44 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 22 deletions(-) delete mode 100755 mpfr-3.1.3-1.bee create mode 100755 mpfr_compat-3.1.6-0.be0 diff --git a/mpfr-3.1.3-1.bee b/mpfr-3.1.3-1.bee deleted file mode 100755 index aa30b058e..000000000 --- a/mpfr-3.1.3-1.bee +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/env beesh - -PGRP=( core ) - -SRCURL="http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.bz2" - -# PATCHES="" - -EXCLUDE="^/usr/share/doc/gtkhtml" - -mee_configure() { - bee_configure --enable-thread-safe -} - -mee_build() { - bee_build - make check 2>&1 | tee check.log -} - -# mee_install() { -# bee_install -# } diff --git a/mpfr_compat-3.1.6-0.be0 b/mpfr_compat-3.1.6-0.be0 new file mode 100755 index 000000000..542a2a4f4 --- /dev/null +++ b/mpfr_compat-3.1.6-0.be0 @@ -0,0 +1,44 @@ +#!/usr/bin/env beesh + +# BEE_VERSION mpfr_compat-3.1.6-0 + +# more info: https://foo.bar.com + +SRCURL[0]="https://ftp.gnu.org/pub/gnu/mpfr/mpfr-${PKGVERSION}.tar.gz" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +mee_configure() { + bee_configure --enable-thread-safe +} + +#mee_build() { +# bee_build +#} +mee_build() { + make check +} + +#mee_install() { +# bee_install +#} + +mee_install_post() { + rm -rfv ${D}/usr/include + rm -rfv ${D}/usr/share + rm -rfv ${D}/usr/lib/libmpfr.so + rm -rfv ${D}/usr/lib/libmpfr.a + rm -rfv ${D}/usr/lib/libmpfr.la +} From 66a911b91c457836366cf45a2fb1ba2705403b83 Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Wed, 15 Jan 2020 11:23:42 +0100 Subject: [PATCH 2/2] mpfr: update to 4.0.2 - fix SRCURL - now serves /usr/lib/libmpfr.so.6 --- mpfr.be0 | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 mpfr.be0 diff --git a/mpfr.be0 b/mpfr.be0 new file mode 100755 index 000000000..f5eb25bd7 --- /dev/null +++ b/mpfr.be0 @@ -0,0 +1,41 @@ +#!/usr/bin/env beesh + +# BEE_VERSION mpfr-4.0.2-0 + +# more info: https://foo.bar.com + +SRCURL[0]="https://ftp.gnu.org/pub/gnu/mpfr/mpfr-${PKGVERSION}.tar.gz" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +mee_configure() { + bee_configure --enable-thread-safe +} + +#mee_build() { +# bee_build +#} + +mee_build_post() { + make check +} + +#mee_install() { +# bee_install +#} + +#mee_install_post() { +# exit +#}