File: c.sh

package info (click to toggle)
pcsc-lite 2.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,688 kB
  • sloc: ansic: 13,869; python: 3,173; lex: 609; makefile: 246; sh: 54; xml: 22
file content (21 lines) | stat: -rwxr-xr-x 258 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

set -x
set -e

BUILD_DIR=builddir
TMP_DIR=/tmp/pcsc

rm -rf "$BUILD_DIR"

meson setup "$BUILD_DIR" \
	--prefix /usr \
	-Dsystemdunit=system \
	"$@"

cd "$BUILD_DIR"
meson compile

rm -rf "$TMP_DIR"
DESTDIR="$TMP_DIR" meson install
find "$TMP_DIR"