#!/bin/sh set -eu depot_build() { export LDFLAGS="$LDFLAGS -Wl,--undefined-version" ./configure --prefix=/usr \ --sysconfdir=/etc/samba \ --localstatedir=/var \ --bundled-libraries=NONE \ --builtin-libraries=replace \ --enable-talloc-compat1 make } depot_check() { make check } depot_install() { make DESTDIR="$DESTDIR" install }