Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1879 from mariux64/update-subversion
Update subversion
  • Loading branch information
donald committed Sep 14, 2020
2 parents 6a37bf7 + 7fc6c92 commit e9499ad
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 3 deletions.
57 changes: 57 additions & 0 deletions serf.be0
@@ -0,0 +1,57 @@
#!/usr/bin/env beesh

# BEE_VERSION serf-1.3.9-0

# more info: https://serf.apache.org

SRCURL[0]="https://www.apache.org/dist/serf/serf-${PKGVERSION}.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() {
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
}

#mee_install_post() {
# exit
#}
7 changes: 4 additions & 3 deletions subversion.be0
@@ -1,10 +1,10 @@
#!/usr/bin/env beesh

# BEE_VERSION subversion-1.10.6-0
# BEE_VERSION subversion-1.14.0-0

# more info: https://subversion.apache.org

SRCURL[0]="http://ftp.halifax.rwth-aachen.de/apache/subversion/subversion-${PKGVERSION}.tar.bz2"
SRCURL[0]="https://downloads.apache.org/subversion/subversion-${PKGVERSION}.tar.bz2"

# PATCHURL+=()

Expand All @@ -24,7 +24,8 @@ mee_configure() {
bee_configure \
--disable-nls \
--with-lz4=internal \
--with-utf8proc=internal
--with-utf8proc=internal \
--with-serf
}

#mee_build() {
Expand Down

0 comments on commit e9499ad

Please sign in to comment.