blob: 94385695809ef06026b2918ce124c5e2194bc100 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
#!/bin/sh
. ./configure-functions.sh
NAME="serial-barcode-scanner"
AUTHOR="Sebastian Reichel <sre@ring0.de>"
VERSION="0.1"
check_dependencies() {
VALA_VERSION=`valac --api-version`
GPGME_VERSION=`gpgme-config --version`
ESMTP_VERSION=`libesmtp-config --version`
echo "Checking software dependencies:"
check_prg_version valac 0.16 $VALA_VERSION "force"
echo "Checking library dependencies:"
check_pkg_version ncursesw 5.9 "force"
check_pkg_version gdk-2.0 2.24 "force"
check_pkg_version gee-0.8 0.6 "force"
check_pkg_version gio-2.0 2.36 "force"
check_pkg_version gmime-2.6 2.6.10 "force"
check_prg_version gpgme 1.2 $GPGME_VERSION "force"
check_pkg_version gstreamer-1.0 1.0 "force"
check_pkg_version libarchive 3.0 "force"
check_prg_version libesmtp 0.1 $ESMTP_VERSION "force"
check_pkg_version librsvg-2.0 2.36 "force"
check_pkg_version libsoup-2.4 2.48 "force"
check_pkg_version pangocairo 1.32 "force"
check_pkg_version sqlite3 3.7 "force"
check_pkg_version libssl 1.0.0 "force"
echo "Checking font dependencies:"
check_font LMSans10 "force"
check_font LMRoman10 "force"
}
extra_options() {
case $1 in
*)
DESC="not available"
CMD="not-available"
esac
}
BASE=`dirname $0`
check_parameters $@
check_compiler
check_install
check_pkgconfig
check_dependencies
create_config $BASE/config.mk VALAC
create_header $BASE/config.h VERSION
final_report CC PREFIX
|