#!/bin/sh # autopkgtest check: Builds a small application against libextractor, checking # if it compiles, links and runs successfully. set -e gcc `pkgconf --cflags libextractor` -o $AUTOPKGTEST_TMP/build_test debian/tests/build_test.c `pkgconf --libs libextractor` echo "build: OK" cd $AUTOPKGTEST_TMP [ -x build_test ] ./build_test echo "run: OK"