travis, why do you vex me?
[lwes-journaller/github-mirror.git] / install-deps.sh
blob5e687d3554c8d94787b6eb85ae546b4a19a5b2e9
1 #!/bin/sh
3 #set -e
5 #depdir="`pwd`/deps"
6 #mkdir -p $depdir
7 #srcdir="$depdir/source"
8 #mkdir -p $srcdir
10 ## install framewerk
11 #cd $srcdir;
12 #wget https://github.com/dukesoferl/fw/archive/rpm-0_9_2-noarch.tar.gz -O fw-0.9.2.tar.gz;
13 #tar -xzvf fw-0.9.2.tar.gz;
14 #cd fw-rpm-0_9_2-noarch && ./bootstrap && ./configure --prefix=$depdir && make && make install;
16 ## make sure it's in the path
17 #PATH=$PATH:$depdir/bin
19 ## install fw-template-c
20 #cd $srcdir;
21 #wget https://github.com/dukesoferl/fw-template-C/archive/rpm-0_0_11-noarch.tar.gz -O fw-template-C-0.0.11.tar.gz;
22 #tar -xzvf fw-template-C-0.0.11.tar.gz;
23 #cd fw-template-C-rpm-0_0_11-noarch && ./bootstrap && ./configure --prefix=$depdir && make && make install;
25 ## install lwes
26 #export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$depdir/lib/pkgconfig
27 #cd $srcdir;
28 #wget https://github.com/lwes/lwes/archive/lwes-0.24.0.tar.gz -O lwes-0.24.0.tar.gz;
29 #tar -xzvf lwes-0.24.0.tar.gz;
30 #cd lwes-lwes-0.24.0 && ./bootstrap && ./configure --prefix=$depdir && make install;
32 ## install mondemand
33 #export CFLAGS="$CFLAGS `pkg-config --cflags lwes-0`"
34 #export LIBS="$LIBS `pkg-config --libs lwes-0`"
35 #cd $srcdir;
36 #wget https://github.com/mondemand/mondemand/archive/rpm-4_2_1-x86_64.tar.gz -O mondemand-4.2.1.tar.gz;
37 #tar -xzvf mondemand-4.2.1.tar.gz;
38 #cd mondemand-rpm-4_2_1-x86_64 && ./bootstrap && ./configure --prefix=$depdir && make install;
40 ####export LDFLAGS="-Wl,--no-as-needed"