recipes

packages recipes for the <noname> package manager
Log | Files | Refs

build (370B)


      1 #!/bin/sh -e
      2 
      3 export CC="cc -I${sqlite}/include -I${libressl}/include"
      4 export LD="cc -L${sqlite}/lib     -L${libressl}/lib"
      5 
      6 make CC="${CC}" LD="${LD}" PREFIX="${PREFIX}" install
      7 
      8 mv "$PREFIX/sbin" "$PREFIX/bin"
      9 
     10 for script in kamctl kamdbctl; do
     11 	file=
     12 	sed -r '1 s,#!/bin/bash,#!/bin/sh,' "${PREFIX}/bin/${script}" >$$
     13 	chmod +x $$
     14 	mv $$ ${PREFIX}/bin/${script}
     15 done