summaryrefslogtreecommitdiffstats
path: root/chat-irc/ratbox-services/DEPENDS
blob: 01a0c84e13574a8c4b82f29fee4855ca7f055f12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
optional_depends pcre \
                 "--enable-pcre" \
                 "--with-pcrebuild" \
                 "to use system PCRE library" &&

if [[ $RSERV_DBB == postgresql ]]; then
  depends postgresql '--enable-pgsql'
elif [[ $RSERV_DBB == mysql ]]; then
  depends MYSQL '--enable-mysql'
else
  optional_depends sqlite \
                   "--enable-sqlite3" \
                   "--with-sqlitebuild" \
                   "to use system SQLite library"
fi