You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

50 lines
1.6 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../nepenthes/nepenthes.conf
# Copyright (C) 2006 - 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
if [ $prefix_auto = 1 ] ; then
prefix="opt/nepenthes"
set_confopt
fi
# we patch configure.ac
hook_add preconf 5 "aclocal ; autoconf ; automake --add-missing"
# Prelude-IDS support
if pkginstalled libprelude ; then
pkgprefix -t libprelude
var_append confopt " " "--enable-prelude"
var_append CXXFLAGS ' ' "-I$root$( pkgprefix includedir libprelude )"
export CXXFLAGS
fi
# libssh support
if pkginstalled libssh ; then
pkgprefix -t libssh
var_append confopt ' ' "--with-ssh-include=$root$( pkgprefix includedir libssh )/libssh"
fi
# mysql support
if pkginstalled mysql ; then
pkgprefix -t mysql
var_append confopt " " "--enable-mysql"
var_append confopt ' ' "--with-mysql-include=$root$( pkgprefix includedir mysql )/mysql"
fi
# postgresql support
if pkginstalled postgresql ; then
pkgprefix -t postgresql
var_append confopt " " "--enable-postgre"
var_append confopt ' ' "--with-postgre-include=$root$( pkgprefix includedir postgresql )"
var_append confopt ' ' "--with-postgre-lib=$root$( pkgprefix libdir postgresql )"
fi