SRC_FETCH_METHOD=http SRC_FETCH_PATH=https://bitbucket.org/yarosla/httpress/get/f27fa19.tar.gz PATCH_LIST=" 0001-httpress-don-t-print-thread-data-during-the-transfer.patch 0002-httpress-add-per-second-stats-on-request-counts.patch 0003-httpress-provide-more-information-regarding-data-rat.patch set-line-buffer-mode.diff " # Use FLXHOSTOS, FLXHOSTARCH, HOSTCC, HOSTCXX for the machine used to build. # Use FLXTARGOS, FLXTARGARCH, CC, CXX, LD, for the target machine. # FLXMAKE usually is 'make', FLXPMAKE usually is 'make -j 2' # Build tools are in /$FLXTOOLDIR, toolchain root dir is /$FLXROOTDIR. # Current dir is /$CURDIR, package dir is /$PKGDIR, dest root dir is /$ROOTDIR. # Package name is $PKGRADIX-$PKGVER-$DISTVER MAKEDEPENDS="libev-*:::*.a *.h" function do_config { : } function do_compile_only { # parallel make $FLXPMAKE -f Makefile.nossl \ CC="$CC" LD="$CC" \ RANLIB="$RANLIB" AR="$AR" AS="$AS" NM="$NM" OBJDUMP="$OBJDUMP" \ CFLAGS="$GCC_ARCH_CURRENT $GCC_CPU_CURRENT $GCC_OPT_FASTEST" \ LIBS="-lev -lpthread -lm" } function do_prepack { #$FLXMAKE install DESTDIR=$ROOTDIR mkdir -p $ROOTDIR/usr/bin cp bin/Release/httpress $ROOTDIR/usr/bin/ set_default_perm $ROOTDIR } function do_clean { $FLXMAKE -f Makefile.nossl clean }