SRC_FETCH_PATH=https://download.savannah.nongnu.org/releases/oath-toolkit/oath-toolkit-${PKGVER}.tar.gz SRC_FETCH_METHOD=http PATCH_LIST= FILE_LIST= MAKEDEPENDS=( 'libxml2-*:::*.h *.a' ) function do_config { # Note: some options are needed for sub-components like liboath CC="$CC" CXX="$CXX" LD="$LD" \ RANLIB="$RANLIB" AR="$AR" AS="$AS" NM="$NM" OBJDUMP="$OBJDUMP" \ CFLAGS="$GCC_ARCH_SMALL $GCC_CPU_SMALL $GCC_OPT_SMALL" \ PKG_CONFIG=/bin/false \ XML2_CFLAGS="-I$FLXROOTDIR/usr/include/libxml2" \ ./configure \ --build=${FLXHOST} --host=${FLXTARG} \ --prefix=/usr --sysconfdir=/etc \ --disable-nls --disable-locale \ --disable-pam --disable-pskc \ --disable-shared } function do_compile_only { # parallel make $FLXPMAKE } function do_prepack { $FLXMAKE install DESTDIR=$ROOTDIR set_default_perm $ROOTDIR }