summaryrefslogtreecommitdiff
path: root/packages/pam_tacplus/build.sh
blob: 2aa690141577c5d0737ef84d2b3d1ffa503e10c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
CWD=$(pwd)
set -e

SRC=pam_tacplus
if [ ! -d ${SRC} ]; then
    echo "Source directory does not exists, please 'git clone'"
    exit 1
fi

cd ${SRC}
cp -a ../pam_tacplus-debian debian
rm -f debian/compat

sudo mk-build-deps --install --tool "apt-get --yes --no-install-recommends"
dpkg-buildpackage -uc -us -tc -b -d