File: gpg-error-config

package info (click to toggle)
silver-platter 0.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,564 kB
  • sloc: python: 348; makefile: 33; sh: 1
file content (23 lines) | stat: -rwxr-xr-x 368 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

# gpg-error-config: simple replacement gpg-error-config that is a shim
# for pkg-config.

# Parse flags
for arg in "$@"; do
  case $arg in
	--cflags)
	  pkg-config --cflags gpg-error
	  ;;
	--libs)
	  pkg-config --libs gpg-error
	  ;;
	--version)
	  pkg-config --modversion gpg-error
	  ;;
	*)
	  echo "Unknown option: $arg" >&2
	  exit 1
	  ;;
  esac
done