PATCH_LIST= FILE_LIST= SRC_FETCH_METHOD=http SRC_FETCH_PATH=https://www.aleksey.com/xmlsec/download/xmlsec1-${PKGVER}.tar.gz # optimize for size FLXARCH=$FLX_ARCH_SMALL MAKEDEPENDS=( "openssl-*:::*.h *.so *.so.*" "libxml2-*:::*.h *.so *.so.*" ) function do_config { CC="$CC" LD="$LD" \ CFLAGS="$GCC_ARCH_SMALL $GCC_CPU_SMALL $GCC_OPT_SMALL" \ LIBXML_CFLAGS="-I$FLXROOTDIR/usr/include/libxml2" LIBXML_LIBS="-lxml2 -L$FLXROOTDIR/usr/lib/" \ LDFLAGS="-L$FLXROOTDIR/usr/lib -lxml2" \ ./configure --host=$FLXTARG --build=$FLXHOST --prefix="/usr" \ --bindir=/bin --sbindir=/sbin --libdir="/usr/lib/" \ --sysconfdir=/etc --with-sysroot="$FLXROOTDIR" \ --disable-crypto-dl --disable-apps --disable-static --disable-pkgconfig \ --with-libxslt=no --enable-apps-crypto-dl=no --with-libxslt=no \ --with-nss=no --with-gcrypt=no --with-gnutls=no \ --disable-mans --disable-docs --disable-skm \ --disable-tmpl-tests --disable-debugging --with-default-crypto=openssl } function do_compile_only { # parallel make $FLXPMAKE } function do_prepack { $FLXMAKE install DESTDIR=$ROOTDIR mkdir -p $ROOTDIR/usr/bin mv $ROOTDIR/bin/* $ROOTDIR/usr/bin/ set_default_perm $ROOTDIR }