recipes

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

build (241B)


      1 #!/bin/sh -e
      2 
      3 sed '2 s,.*,#include <sys/select.h>,' examples/go.c >$$
      4 mv $$ examples/go.c
      5 
      6 sed '
      7 	s/-Wfatal-errors//g
      8 	s/-Ofast//g
      9 	s/-Wno-unused-result//g
     10 ' Makefile >$$
     11 mv $$ Makefile
     12 
     13 gmake
     14 mkdir -p "$PREFIX/bin"
     15 cp darknet "$PREFIX/bin"