tmkfile - mkports - recipes for building multiple softwares with mk(1)
 (HTM) git clone git://z3bra.org/mkports
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       tmkfile (553B)
       ---
            1 pkg = libattr
            2 ver = 2.4.47
            3 url = http://download-mirror.savannah.gnu.org/releases/attr/attr-$ver.src.tar.gz
            4 
            5 <../config.mk
            6 <../default.mk
            7 
            8 CFLAGS = ${CFLAGS} -I$WORK/$pkg-$ver/include
            9 OPTIMIZER = $CFLAGS
           10 DEBUG = -DNDEBUG
           11 CONFIGURE = $CONFIGURE \
           12         --exec-prefix=/ \
           13         --libexecdir=/lib \
           14         --disable-gettext
           15 
           16 build:QV: fetch patch
           17         cd $WORK/$pkg-$ver
           18         unset PLATFORM
           19         ./configure $CONFIGURE
           20         make -j1
           21 
           22 install:QV: build
           23         mkdir -p $destdir
           24         cd $WORK/$pkg-$ver
           25         make DESTDIR=$destdir install install-lib install-dev