PATCH_LIST= FILE_LIST= SRC_FETCH_METHOD=http SRC_FETCH_PATH="https://github.com/linux-ras/sysfsutils/archive/refs/tags/v${PKGVER}.tar.gz" MAKEDEPENDS= function do_config { autoreconf -fi CXXCPP="$CC -E -x c" 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" \ ac_cv_func_malloc_0_nonnull=yes \ ./configure --prefix=/usr --sysconfdir=/etc --host=$FLXTARG --build=$FLXHOST } function do_compile_only { $FLXPMAKE } function do_prepack { $FLXMAKE install DESTDIR=$ROOTDIR }