# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../gnutls/gnutls.conf # Copyright (C) 2008 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 --- # Note: By providing '--with-$foo-prefix' we help gnutls to cross-compile # readline support if pkginstalled readline ; then pkgprefix -t readline var_append extraconfopt ' ' \ "--with-libreadline-prefix=$root/$( pkgprefix readline )" fi # zlib compression support if pkginstalled zlib ; then pkgprefix -t zlib var_append extraconfopt ' ' \ "--with-libz-prefix=$root/$( pkgprefix zlib)" else var_append extraconfopt ' ' "--without-zlib" fi # libtasn1 support if pkginstalled libtasn1 ; then pkgprefix -t libtasn1 var_append extraconfopt ' ' \ "--with-libtasn1-prefix=$root/$( pkgprefix libtasn1)" else var_append extraconfopt ' ' "--with-included-libtasn1" fi # libgcrypt support if pkginstalled libgcrypt ; then pkgprefix -t libgcrypt var_append extraconfopt ' ' '--with-libgcrypt' var_append extraconfopt ' ' \ "--with-libgcrypt-prefix=$root/$( pkgprefix libgcrypt )" fi # opencdk support if pkginstalled opencdk ; then pkgprefix -t opencdk var_append extraconfopt ' ' \ "--with-libopencdk-prefix=$root/$( pkgprefix opencdk )" else var_append extraconfopt ' ' "--with-included-opencdk" fi if atstage cross; then #HACK: don't rebuild gnutls.info in `make install`, a dependency is changed during `make all` #HACK: so it get's rebuilt (unsuccessfully) during `make install` hook_add inmake 5 'touch doc/gnutls.info' fi