Skip to content

Commit

Permalink
Merge pull request #1765 from mariux64/fix-srcurl-mysql
Browse files Browse the repository at this point in the history
mysql: fix SRCURL and boost download
  • Loading branch information
wwwutz authored Mar 10, 2020
2 parents c27b272 + 94691d5 commit 97967b9
Showing 1 changed file with 8 additions and 51 deletions.
59 changes: 8 additions & 51 deletions mysql.be0
Original file line number Diff line number Diff line change
@@ -1,44 +1,20 @@
#!/usr/bin/env beesh

# BEE_VERSION mysql-8.0.17-1
# BEE_VERSION mysql-8.0.17-2

## 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.)
#SRCURL[0]="https://dev.mysql.com/get/Downloads/MySQL-${PKGVERSION[2]}/mysql-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/43c850197977b07fb33625304eaf5166/mysql-8.0.17.tar.gz"

###############################################################################
## 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://dev.mysql.com/get/Downloads/MySQL-${PKGVERSION[2]}/mysql-${PKGVERSION}.tar.gz"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
## The sources will be patched in the order of the array.
# version from cmake/boost.cmake
#SRCURL[1]="https://downloads.sourceforge.net/boost/boost_1_69_0.tar.bz2"
SRCURL[1]="https://beehive.molgen.mpg.de/a1332494397bf48332cb152abfefcec2/boost_1_69_0.tar.bz2"

# 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 "${@}"
#}
Expand All @@ -49,9 +25,10 @@ SRCURL[0]="https://dev.mysql.com/get/Downloads/MySQL-${PKGVERSION[2]}/mysql-${PK

mee_configure() {
bee_configure \
-DDOWNLOAD_BOOST=1 -DWITH_BOOST="${B}/boost" \
-DWITH_BOOST="${S}" \
-DWITH_SSL=system \
-DWITHOUT_SERVER=on \
-DINSTALL_MANDIR=share/man \
-DINSTALL_MYSQLSHAREDIR=/usr/share/mysql
}

Expand All @@ -66,23 +43,3 @@ mee_install() {
$D$PREFIX/README \
$D$PREFIX/LICENSE
}

## 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/
##

0 comments on commit 97967b9

Please sign in to comment.