Commit 1cbdc689 authored by Andreas Tille's avatar Andreas Tille

FIXME: Hackish attempt to sneak in node-browserify-lite

parent 9db9afe8
......@@ -5,9 +5,11 @@ Section: science
Priority: optional
Build-Depends: debhelper (>= 12~),
protobuf-compiler,
libprotobuf-dev,
python,
npm,
coffeescript
coffeescript,
node-browserify-lite
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/med-team/rethinkdb
Vcs-Git: https://salsa.debian.org/med-team/rethinkdb.git
......
Author: Andreas Tille <tille@debian.org>
Description: To pass the configure step we try to sneak in node-browserify-lite
since browserify is not packaged yet.
--- a/configure
+++ b/configure
@@ -658,8 +658,13 @@ test_bin_version () {
return 1
fi
else
+ if [ "$1" = "browserify" ] ; then
+ echo "For Debian packaging we are using $2 which does not report any version - just accept for a moment"
+ ver=`apt-cache madison node-browserify-lite | cut -d'|' -f2 | sed 's/ *\([0-9.]\+\)-.*/\1/'`
+ else
error "Could not determine $1 version"
return 1
+ fi
fi
show "$1 $ver"
}
accept_node-browserify-lite.patch
......@@ -14,7 +14,7 @@ override_dh_auto_clean:
echo "Upstream Makefile is not prepared for clean target"
override_dh_auto_configure:
./configure
BROWSERIFY=/usr/bin/browserify-lite ./configure
override_dh_auto_build:
dh_auto_build -- DEBUG=$(DEBUG) PVERSION=$(DEB_VERSION_UPSTREAM) VERBOSE=1 SYMBOLS=1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment