summaryrefslogtreecommitdiff
path: root/packaging/ubuntu-mantic/libeufin-build.sh
blob: 7229221afa35f4616980fba2f9bb6e68cd446699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
# This file is in the public domain.
# Helper script to build the latest DEB packages in the container.

set -eu
unset LD_LIBRARY_PATH
mkdir -p /build/libeufin
cd /build/libeufin

# Fetch source
rm -rf *
git clone git://git.taler.net/libeufin
cd libeufin
git checkout $1
./bootstrap
./configure --prefix=/usr/local
make deb
cd ..
dpkg -i *.deb

tar uvf ../packages.tgz *.deb
cd ..