pcre: fork, fix sources
[kiss-trunc88.git] / cifs-utils / build
blob2c69b8d35ea478c73b602064669ebae828b95942
1 #!/bin/sh -e
3 ./configure \
4 --prefix=/usr \
5 --disable-pam \
6 --disable-systemd
8 make
9 make DESTDIR="$1" install
11 # Build system is broken, it doesn't
12 # respond correctly to more flags being
13 # added to configure, so we will fix the
14 # file locations manually
16 rm -r "$1/usr/sbin"
17 mv "$1"/sbin/* "$1/usr/bin"
18 rm -r "$1/sbin"