PATCH_LIST="peekfd-oabi.diff psmisc-22.13-aarch64.diff" FILE_LIST= SRC_FETCH_METHOD=http SRC_FETCH_PATH="http://freefr.dl.sourceforge.net/project/psmisc/psmisc/psmisc-${PKGVER}.tar.gz" MAKEDEPENDS=( "ncurses-*:::*.so *.so.* *.h" ) function do_config { # Sometimes, broken packages will need LD="$CC" 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 ac_cv_func_realloc_0_nonnull=yes ./configure --prefix=/usr --build=$FLXHOST --host=$FLXTARG } function do_compile_only { # parallel make $FLXPMAKE } function do_prepack { $FLXMAKE install DESTDIR=$ROOTDIR prefix=/usr ( cd $ROOTDIR/usr/bin ; ln -s killall pidof ) set_default_perm $ROOTDIR }