tmkfile - mkports - recipes for building multiple softwares with mk(1)
 (HTM) git clone git://z3bra.org/mkports
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       tmkfile (326B)
       ---
            1 pkg = linux
            2 ver = `{uname -r | cut -d- -f1}
            3 url = https://www.kernel.org/pub/linux/kernel/v4.x/$pkg-$ver.tar.xz
            4 
            5 <../default.mk
            6 
            7 build:QV: fetch patch
            8         cd $WORK/$pkg-$ver
            9         make mrproper
           10 
           11 install:QV: build
           12         mkdir -p $destdir
           13         cd $WORK/$pkg-$ver
           14         make ${MAKEFLAGS} INSTALL_HDR_PATH=$destdir headers_install