File: build

package info (click to toggle)
libextractor 1%3A1.13-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,832 kB
  • sloc: ansic: 21,583; sh: 5,498; makefile: 793; cpp: 499; sed: 16
file content (11 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/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"