Skip to content

mpfr: update to lib.6 and compat to lib.4 #1595

Merged
merged 2 commits into from
Jan 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 0 additions & 22 deletions mpfr-3.1.3-1.bee

This file was deleted.

41 changes: 41 additions & 0 deletions mpfr.be0
Original file line number Diff line number Diff line change
@@ -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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Bee make flags are not passed now, are they?

bee_build
start_cmd make check

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops typo...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prepend with start_cmd?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? bee is verbose enough.

make[1]: Leaving directory '/scratch/local2/bee-root/mpfr/mpfr-4.0.2-0/build'
[BEE] <= leaving bee_build() ..
[BEE] => entering mee_build_post() ..
Making check in doc

}

#mee_install() {
# bee_install
#}

#mee_install_post() {
# exit
#}
wwwutz marked this conversation as resolved.
Show resolved Hide resolved
44 changes: 44 additions & 0 deletions mpfr_compat-3.1.6-0.be0
Original file line number Diff line number Diff line change
@@ -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
}