From adf0683b12cab4c7969868714d7bd80295a05b11 Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 26 Jun 2019 13:34:01 +0200 Subject: [PATCH 1/4] igraph: delete old bee file --- igraph-0.6.4-0.bee | 83 ---------------------------------------------- 1 file changed, 83 deletions(-) delete mode 100755 igraph-0.6.4-0.bee diff --git a/igraph-0.6.4-0.bee b/igraph-0.6.4-0.bee deleted file mode 100755 index b7318b68a..000000000 --- a/igraph-0.6.4-0.bee +++ /dev/null @@ -1,83 +0,0 @@ -#!/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]="http://downloads.sourceforge.net/project/igraph/C%20library/${PKGVERSION}/igraph-${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+=() - -############################################################################### -## Add filename patterns to the EXCLUDE array of files that should not -## be added to you package but may be present in the image directory. - -# EXCLUDE+=() - -############################################################################### -## Uncomment the next statement, if the software may not be able to be build -## outside the source directory and need to be build 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 'add_sourcesubdir' to specify this directory if known. - -# add_sourcesubdir 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 b2297daf0c223ccbc7f2e575e8a2c46c87221c60 Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 26 Jun 2019 13:39:48 +0200 Subject: [PATCH 2/4] igraph: init again and nullify bee init https://github.com/igraph/igraph/releases/download/0.7.1/igraph-0.7.1.tar.gz git mv igraph-0.7.1-0.bee igraph.be0 --- igraph.be0 | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100755 igraph.be0 diff --git a/igraph.be0 b/igraph.be0 new file mode 100755 index 000000000..621337591 --- /dev/null +++ b/igraph.be0 @@ -0,0 +1,79 @@ +#!/usr/bin/env beesh + +# BEE_VERSION igraph-0.7.1-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.) + +############################################################################### +## 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://github.com/igraph/igraph/releases/download/${PKGVERSION}/igraph-${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 d3a5e58d547231e8eb103eac5339b2910f7ee10d Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 26 Jun 2019 13:40:49 +0200 Subject: [PATCH 3/4] igraph: build_in_sourcedir --- igraph.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/igraph.be0 b/igraph.be0 index 621337591..5180f31b7 100755 --- a/igraph.be0 +++ b/igraph.be0 @@ -22,7 +22,7 @@ SRCURL[0]="https://github.com/igraph/igraph/releases/download/${PKGVERSION}/igra ## outside the source directory and needs to be built inside the source ## directory. -# build_in_sourcedir +build_in_sourcedir ############################################################################### ## bee cannot detect buildtypes specified in subdirectories. From 4b1d6dd480b8e9afeac5b7e8a7ac75eaea0b3ca9 Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 26 Jun 2019 13:44:15 +0200 Subject: [PATCH 4/4] igraph: Build only the static lib -fPIC ensures that the result can also be used in foreign modules. --- igraph.be0 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/igraph.be0 b/igraph.be0 index 5180f31b7..3be7fb28e 100755 --- a/igraph.be0 +++ b/igraph.be0 @@ -11,6 +11,8 @@ SRCURL[0]="https://github.com/igraph/igraph/releases/download/${PKGVERSION}/igraph-${PKGVERSION}.tar.gz" +export CFLAGS='-fPIC -O2' + ############################################################################### ## Add URLs/pathes to patch files to the PATCHURL array. ## The sources will be patched in the order of the array. @@ -47,9 +49,9 @@ build_in_sourcedir # bee_patch "${@}" #} -#mee_configure() { -# bee_configure -#} +mee_configure() { + bee_configure --enable-shared=no +} #mee_build() { # bee_build