From 9b5bd516db7f642c7d24bc36bc1a2bcd790afefa Mon Sep 17 00:00:00 2001 From: thomas Date: Mon, 27 May 2019 16:07:40 +0200 Subject: [PATCH 1/4] gsl: dump the old bee file --- gsl-1.14-0.bee | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100755 gsl-1.14-0.bee diff --git a/gsl-1.14-0.bee b/gsl-1.14-0.bee deleted file mode 100755 index 5c4594a3e..000000000 --- a/gsl-1.14-0.bee +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/env beesh - -SRCURL[0]="ftp://ftp.gnu.org/gnu/gsl/gsl-1.14.tar.gz" - -PATCHURL[0]="" - -PGRP=( uncategorized ) - - - -# BEE_CONFIGURE=compat - -# EXCLUDE="" - -mee_patch() { - bee_patch -} - -mee_configure() { - bee_configure -} - -mee_build() { - bee_build -} - -mee_install() { - bee_install -} - From 6b9315cd37c079e947c32a1ee1ecc00033b008c7 Mon Sep 17 00:00:00 2001 From: thomas Date: Mon, 27 May 2019 16:08:22 +0200 Subject: [PATCH 2/4] gsl: add compat package --- gsl-compat.be0 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 gsl-compat.be0 diff --git a/gsl-compat.be0 b/gsl-compat.be0 new file mode 100755 index 000000000..279be9c50 --- /dev/null +++ b/gsl-compat.be0 @@ -0,0 +1,10 @@ +#!/usr/bin/env beesh + +# BEE_VERSION gsl-compat-1.14-0 + +mee_install() { + cd ${D} + tar -xf ${BEE_PKGDIR}/gsl-1.14-0.x86_64.bee.tar.bz2 \ + /usr/lib/libgsl.so.0.15.0 \ + /usr/lib/libgsl.so.0 +} From 123bf671c0b9c9efc43280b3fbd24e541183dabc Mon Sep 17 00:00:00 2001 From: thomas Date: Mon, 27 May 2019 16:10:05 +0200 Subject: [PATCH 3/4] gsl: bee init https://www.artfiles.org/gnu.org/gsl/gsl-2.5.tar.gz --- gsl.be0 | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100755 gsl.be0 diff --git a/gsl.be0 b/gsl.be0 new file mode 100755 index 000000000..5ca268436 --- /dev/null +++ b/gsl.be0 @@ -0,0 +1,77 @@ +#!/usr/bin/env beesh + +## this file was created by bee init and should be executed to build a +## bee-package. (Additional hints are located at the end of this file.) + +############################################################################### +## The source URL(s) define the location of the sources that will be +## downloaded. Version variables may be used to simplify reuse of this bee-file. + +SRCURL[0]="https://www.artfiles.org/gnu.org/gsl/gsl-${PKGVERSION}.tar.gz" + +############################################################################### +## Add URLs/pathes to patch files to the PATCHURL array. +## The sources will be patched in the order of the array. + +# PATCHURL+=() + +############################################################################### +## Uncomment the next statement, if the software may not be able to be built +## outside the source directory and needs to be built inside the source +## directory. + +# build_in_sourcedir + +############################################################################### +## bee cannot detect buildtypes specified in subdirectories. +## Sometimes packages "hide" the real sources in a subdirectory named +## 'src' or 'cmake' or .. +## use 'sourcesubdir_append' to specify this directory if known. + +# sourcesubdir_append src + + +############################################################################### +## Change the default (auto-detected) steps to +## extract, patch, configure/setup, build and install the software. +## Make sure the mee_install function does install everything to the +## image directory "${D}" + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} +## by default this may be 'make install DESTDIR="${D}"' + +############################################################################### +## +## Additional hints: +## +## The name of this bee-file should follow the following naming convention: +## pkgname-pkgversion-pkgrevision.bee +## +## You may remove all comments as long as SRCURL[0] is set. +## +## Everything in this file will be executed in a bash environment. +## +## Build the package by executing +## './pkg-version-N.bee' or +## 'beesh ./pkg-version-N.bee' +## +## see http://beezinga.org/ +## From 88421dbe5808254cb5348029de7c55652951ff8e Mon Sep 17 00:00:00 2001 From: thomas Date: Mon, 27 May 2019 16:11:49 +0200 Subject: [PATCH 4/4] gsl: set version string Install with: #> bee remove gsl-1.14-0.x86_64 #> bee install gsl-compat #> bee install gsl-2.5-0 --- gsl.be0 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gsl.be0 b/gsl.be0 index 5ca268436..4441f908d 100755 --- a/gsl.be0 +++ b/gsl.be0 @@ -1,5 +1,7 @@ #!/usr/bin/env beesh +# BEE_VERSION gsl-2.5-0 + ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.)