Skip to content
Permalink
b7ef5b9c45
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 55 lines (42 sloc) 1.26 KB
#!/usr/bin/env beesh
# BEE_VERSION serf-1.3.10-0
# more info: https://serf.apache.org
# SRCURL[0]="https://www.apache.org/dist/serf/serf-${PKGVERSION}.tar.bz2"
SRCURL[0]="https://beehive.molgen.mpg.de/5320087299084c297eff8e1dacfab1af/serf-1.3.10.tar.bz2"
# requires SCons build system (available from PyPi)
# but this specific package requires python2, because
# the SContruct file (which is SCons' Makefile in python
# lanuage) uses python2 syntax.
#
# SCons strictly doesn't require build_in_sourcedir (scons -Y), but
# I don't see the point of separate sources anyway, when we start
# each build from scratch.
# I recommend to run this bee file with
# unshare -U -r ./serf.be0
# instead of
# sudo ./serf.be0
# Well, I think that is better for ANY bee file, but here we
# invoke a downloaded PyPi package.
# PATCHURL+=()
build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch "${@}"
#}
#mee_configure() {
# bee_configure
#}
mee_build() {
PATH=/usr/local/package/bin/:$PATH
start_cmd virtualenv2 venv0
. venv0/bin/activate
start_cmd pip install scons
start_cmd scons PREFIX=$PREFIX
# start_cmd scons check
}
mee_install() {
start_cmd scons install --install-sandbox=$D
}