diff --git a/gdal-1.11.2-2.bee b/gdal-compat.be0 similarity index 82% rename from gdal-1.11.2-2.bee rename to gdal-compat.be0 index 969057d1b..b111e0ad7 100755 --- a/gdal-1.11.2-2.bee +++ b/gdal-compat.be0 @@ -1,5 +1,7 @@ #!/usr/bin/env beesh +# BEE_VERSION gdal-compat-1.0.0-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.) @@ -7,7 +9,7 @@ ## 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://download.osgeo.org/gdal/${PKGVERSION}/gdal-${PKGVERSION}.tar.gz" +SRCURL=() ############################################################################### ## Add URLs/pathes to patch files to the PATCHURL array. @@ -22,11 +24,11 @@ SRCURL[0]="http://download.osgeo.org/gdal/${PKGVERSION}/gdal-${PKGVERSION}.tar.g # 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 +## 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 +# build_in_sourcedir ############################################################################### ## bee cannot detect buildtypes specified in subdirectories. @@ -51,19 +53,20 @@ build_in_sourcedir # bee_patch "${@}" #} -mee_configure() { - #bee_configure - # some other packages expect /usr/include/gdal - its a mess anyway, we dont want it in /usr/include - ./configure --prefix=/usr --includedir=/usr/include/gdal -} +#mee_configure() { +# bee_configure +#} #mee_build() { # bee_build #} -#mee_install() { -# bee_install -#} +mee_install() { + cd ${D} + tar xpf /src/mariux/beeroot/packages/gdal-1.11.2-2.x86_64.bee.tar.bz2 \ + /usr/lib/libgdal.so.1 \ + /usr/lib/libgdal.so.1.18.2 +} ## by default this may be 'make install DESTDIR="${D}"' ############################################################################### @@ -73,7 +76,7 @@ mee_configure() { ## 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. +## You may remove all comments as long as SRCURL[0] is set. ## ## Everything in this file will be executed in a bash environment. ## diff --git a/gdal.be0 b/gdal.be0 new file mode 100755 index 000000000..793d0aa32 --- /dev/null +++ b/gdal.be0 @@ -0,0 +1,102 @@ +#!/usr/bin/env beesh + +# BEE_VERSION gdal-2.3.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]="http://download.osgeo.org/gdal/${PKGVERSION}/gdal-${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 '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 "${@}" +#} + +export CXXFLAGS='-fPIC -O2' +export CFLAGS='-fPIC -O2' + +mee_configure() { + # some other packages expect /usr/include/gdal - its a mess anyway, we dont want it in /usr/include + bee_configure --includedir=/usr/include/gdal --enable-shared=no +} + +#mee_build() { +# bee_build +#} + +# Install the whole package (incl. useless binaries, icons, bash completion, ...) in a +# temporary location: +mee_install() { + make install DESTDIR=${D}/cruft +} + +mee_install_post() { + mkdir -p ${D}/usr/bin + mv --verbose ${D}/cruft/usr/bin/gdal-config ${D}/usr/bin + mv --verbose ${D}/cruft/usr/include ${D}/usr + rmdir --verbose ${D}/cruft/usr/lib/gdalplugins + mv --verbose ${D}/cruft/usr/lib ${D}/usr + + # Remove cruft: + rm -rf ${D}/cruft +} + + +############################################################################### +## +## 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/ +## diff --git a/gnudatalanguage-gdl.be0 b/gnudatalanguage-gdl.be0 index a2b2187bd..871f7d531 100755 --- a/gnudatalanguage-gdl.be0 +++ b/gnudatalanguage-gdl.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION gnudatalanguage-gdl-0.9.8-1 +# BEE_VERSION gnudatalanguage-gdl-0.9.8-2 SRCURL[0]="https://github.com/gnudatalanguage/gdl/archive/v${PKGVERSION}.tar.gz" diff --git a/netcdf-4.3.3.1-0.bee b/netcdf-4.3.3.1-0.bee deleted file mode 100755 index b84f3b76f..000000000 --- a/netcdf-4.3.3.1-0.bee +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/env beesh - -SRCURL[0]="ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-${PKGVERSION}.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 -} - diff --git a/netcdf-compat.be0 b/netcdf-compat.be0 new file mode 100755 index 000000000..98b2b0670 --- /dev/null +++ b/netcdf-compat.be0 @@ -0,0 +1,88 @@ +#!/usr/bin/env beesh + +# BEE_VERSION netcdf-compat-1.0.0-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=() + +############################################################################### +## 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 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() { + cd ${D} + tar xpf /src/mariux/beeroot/packages/netcdf-4.3.3.1-0.x86_64.bee.tar.bz2 \ + /usr/lib64/libnetcdf.so.7 \ + /usr/lib64/libnetcdf.so.7.2.1 +} +## 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/ +## diff --git a/netcdf.be0 b/netcdf.be0 new file mode 100755 index 000000000..153dfe444 --- /dev/null +++ b/netcdf.be0 @@ -0,0 +1,40 @@ +#!/bin/env beesh + +# BEE_VERSION netcdf-4.6.1-0 + +SRCURL[0]="https://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-${PKGVERSION}.tar.gz" + +PATCHURL[0]="" + +mee_patch() { + bee_patch +} + +# +# NOTE: to achieve a similar build result with enclosed autotools, one needs only: +# +# CFLAGS='-fPIC -O2' ac_cv_search_H5DSis_scale=-lhdf5_hl ac_cv_search_H5Fflush='-lhdf5 -ldl' \ +# ./configure --prefix=/dev/shm/netcdf-4.6.1-test --enable-shared=no --disable-silent-rules +# +# The above is so beautiful that I've felt a strong urge to preserve it in this bee file :) +# + +mee_configure() { + bee_configure \ + -DCMAKE_C_FLAGS=-fPIC \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=OFF \ + -DCMAKE_BUILD_TYPE=RELEASE \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DENABLE_TESTS=OFF + +} + +mee_build() { + bee_build +} + +mee_install() { + bee_install +} +