#!/bin/sh SRC_GIT_COMMIT=bf7a14d99e96c98d075b33ab3e5f1620bfb9ff42 SRC_FETCH_PATH="https://github.com/wtarreau/httpterm/archive/${SRC_GIT_COMMIT}.tar.gz" SRC_FETCH_METHOD="http" MAKEDEPENDS= PATCH_LIST="" FILE_LIST= function do_compile_only { $FLXMAKE CC="$CC" LD="$CC" \ CPU_OPTS="$GCC_OPT_FAST" \ TARGET=linux26s } function do_prepack { mkdir -p $ROOTDIR/usr/sbin ; cp httpterm $ROOTDIR/usr/sbin mkdir -p $ROOTDIR/usr/share/examples/$PKGRADIX/$PKGRADIX-$PKGVER/ cp $PKGDIR/addons/*.cfg $ROOTDIR/usr/share/examples/$PKGRADIX/$PKGRADIX-$PKGVER/ cp examples/rc.highsock $ROOTDIR/usr/share/examples/$PKGRADIX/$PKGRADIX-$PKGVER/ # mkdir -p $ROOTDIR/usr/share/examples/$PKGRADIX/$PKGRADIX-$PKGVER/etc/httpterm/ # cp $PKGDIR/addons/*.cfg $ROOTDIR/usr/share/examples/$PKGRADIX/$PKGRADIX-$PKGVER/etc/httpterm/ # cp examples/rc.highsock $ROOTDIR/usr/share/examples/$PKGRADIX/$PKGRADIX-$PKGVER/etc/rc.highsock set_default_perm $ROOTDIR }