PATCH_LIST= FILE_LIST= SRC_FETCH_METHOD=http SRC_FETCH_PATH="https://github.com/strace/strace/releases/download/v${PKGVER}/strace-${PKGVER}.tar.xz" MAKEDEPENDS= function do_config { if [ ! -e "$FLXROOTDIR/usr/include/sys/epoll.h" ]; then echo "WARNING! no sys/epoll.h, you should copy the file provided" echo "from .flxpkg/add-ons/ to \$FLXROOTDIR/usr/include/sys/." echo -n "sleeping 10 seconds...";sleep 10;echo "done." fi CFLAGS="$GCC_ARCH_SMALL $GCC_CPU_SMALL $GCC_OPT_SMALL" \ CC="$CC" \ ./configure --build=${FLXHOST} --host=${FLXTARG} --prefix=/usr --disable-mpers } function do_prepack { $FLXMAKE install DESTDIR=$ROOTDIR set_default_perm $ROOTDIR }