# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/redland/redland.conf # Copyright (C) 2008 - 2022 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # 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 version 2. # --- T2-COPYRIGHT-NOTE-END --- pkginstalled raptor && var_append confopt ' ' '--with-raptor=system' \ || var_append confopt ' ' '--with-raptor=internal' pkginstalled rasqal && var_append confopt ' ' '--with-rasqal=system' \ || var_append confopt ' ' '--with-rasqal=internal' redland_config() { if [[ $xsrctar == redland-bindings* ]]; then pkginstalled perl && var_append confopt ' ' '--with-perl' pkginstalled php && var_append confopt ' ' '--with-php' pkginstalled python && var_append confopt ' ' '--with-python' pkginstalled ruby && var_append confopt ' ' '--with-ruby' fi } hook_add preconf 5 redland_config